TY - GEN
T1 - Challenges of API Documentation from a Provider Perspective and Best Practices for Examples in Public Web API Documentation
AU - Bondel, Gloria
AU - Cerit, Arif
AU - Matthes, Florian
N1 - Publisher Copyright:
Copyright © 2022 by SCITEPRESS – Science and Technology Publications, Lda. All rights reserved.
PY - 2022
Y1 - 2022
N2 - Developers frequently have to learn new Web APIs provided by other teams or organizations. Documentation, especially code examples, supports learning and influences the consumers’ perception of an API. Nevertheless, documentation repeatedly fails to address consumers’ information needs. Therefore, we identify four major challenges of creating and maintaining public Web API documentation from a provider perspective which are unknown customer needs, the difficulty of balancing the coverage of varying information needs and keeping documentation concise, the high effort of creating and maintaining documentation, and missing internal guidance and governance for creating API documentation. In addition, we derive 46 best practices candidates for code examples as part of Web API documentation from literature and 13 expert interviews. Moreover, we evaluate a subset of eight of these candidates in the context of the Web API documentation for a public GraphQL API in a case study with 12 participants. As a result, we validate the analyzed eight best practices candidates to be best practices for public Web API documentation.
AB - Developers frequently have to learn new Web APIs provided by other teams or organizations. Documentation, especially code examples, supports learning and influences the consumers’ perception of an API. Nevertheless, documentation repeatedly fails to address consumers’ information needs. Therefore, we identify four major challenges of creating and maintaining public Web API documentation from a provider perspective which are unknown customer needs, the difficulty of balancing the coverage of varying information needs and keeping documentation concise, the high effort of creating and maintaining documentation, and missing internal guidance and governance for creating API documentation. In addition, we derive 46 best practices candidates for code examples as part of Web API documentation from literature and 13 expert interviews. Moreover, we evaluate a subset of eight of these candidates in the context of the Web API documentation for a public GraphQL API in a case study with 12 participants. As a result, we validate the analyzed eight best practices candidates to be best practices for public Web API documentation.
KW - API Documentation
KW - Best Practices
KW - Challenges
KW - Web APIs
UR - http://www.scopus.com/inward/record.url?scp=85140906602&partnerID=8YFLogxK
U2 - 10.5220/0011089700003179
DO - 10.5220/0011089700003179
M3 - Conference contribution
AN - SCOPUS:85140906602
T3 - International Conference on Enterprise Information Systems, ICEIS - Proceedings
SP - 268
EP - 279
BT - Proceedings of the 24th International Conference on Enterprise Information Systems - Volume 2, ICEIS 2022
A2 - Filipe, Joaquim
A2 - Smialek, Michal
A2 - Brodsky, Alexander
A2 - Hammoudi, Slimane
PB - Science and Technology Publications, Lda
T2 - 24th International Conference on Enterprise Information Systems, ICEIS 2022
Y2 - 25 April 2022 through 27 April 2022
ER -