Challenges of API Documentation from a Provider Perspective and Best Practices for Examples in Public Web API Documentation

Gloria Bondel, Arif Cerit, Florian Matthes

Publikation: Beitrag in Buch/Bericht/KonferenzbandKonferenzbeitragBegutachtung

Abstract

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.

OriginalspracheEnglisch
TitelProceedings of the 24th International Conference on Enterprise Information Systems - Volume 2, ICEIS 2022
Redakteure/-innenJoaquim Filipe, Michal Smialek, Alexander Brodsky, Slimane Hammoudi
Herausgeber (Verlag)Science and Technology Publications, Lda
Seiten268-279
Seitenumfang12
ISBN (elektronisch)9789897585692
DOIs
PublikationsstatusVeröffentlicht - 2022
Veranstaltung24th International Conference on Enterprise Information Systems, ICEIS 2022 - Virtual, Online
Dauer: 25 Apr. 202227 Apr. 2022

Publikationsreihe

NameInternational Conference on Enterprise Information Systems, ICEIS - Proceedings
Band2
ISSN (elektronisch)2184-4992

Konferenz

Konferenz24th International Conference on Enterprise Information Systems, ICEIS 2022
OrtVirtual, Online
Zeitraum25/04/2227/04/22

Fingerprint

Untersuchen Sie die Forschungsthemen von „Challenges of API Documentation from a Provider Perspective and Best Practices for Examples in Public Web API Documentation“. Zusammen bilden sie einen einzigartigen Fingerprint.

Dieses zitieren