Back to search

University of Toronto

Assisting with API Design through Reusing Design Knowledge

Abstract

dc:description.abstract

With the rise in software ecosystem initiatives, developing Application Programming Interfaces (APIs) has become an increasingly common practice. One main concern in developing APIs is that they expose back-end systems and data towards clients. This exposure threatens critical non-functional requirements, such as security of the back-end systems, performance of the provided services, and privacy of the communications with clients. Although dealing with non-functional requirements during software design has been long studied, there is still no framework to specifically assist software developers with addressing these requirements in APIs. In this thesis, we introduce Rational API Designer (RAPID), an assistant that provides consultation about designing non-functional requirements in the architecture of APIs. We have equipped RAPID with a broad range of expert knowledge about API design, systematically collected and extracted from the literature. The API design knowledge has been encoded as a set of 156 catalogues using the Non-Functional Requirements (NFR) language, a multi-valued logic commonly used for describing non-functional and functional requirements of software systems. RAPID uses the API design catalogues in a step-wise refinement and selection procedure to arrive from a given requirement, to a set of design alternatives, to a final suggestion for a given API design specification. Seven well-experienced developers have blindly evaluated accuracy of RAPID’s consultations over seven different cases of API design and on providing design guidelines for thirty design questions. The results of evaluation show that RAPID’s recommendations meet acceptable standards of the majority of the evaluators 73.3% of the time. Moreover, analysis of evaluators’ comments suggests that more than one-third of the unacceptable ratings (34%) given to RAPID’s answers are due to valid but incomplete design guidelines. We thus expect that the accuracy of the consultations will increase as RAPID’s knowledge of API design is extended and refined. Software developers can use RAPID to receive design suggestions generated through reusing the knowledge of experts, or to add their own knowledge of API design to RAPID for future use of their peers.

Degree

thesis:*
Department dc:contributor.department
Computer Science
Year dc:date.issued
2020

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Hasani Sadi, Mahsa
Advisor dc:contributor.advisor
  • Yu, Prof. Eric

Subjects

dc:subject × 6

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/1807/101172

Chain of custody

source
Harvested from
University of Toronto
Base URL
utoronto.scholaris.ca/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Hasani Sadi, Mahsa. Assisting with API Design through Reusing Design Knowledge. 2020. https://hdl.handle.net/1807/101172