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

Gloria Bondel, Arif Cerit, Florian Matthes

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

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.

Original languageEnglish
Title of host publicationProceedings of the 24th International Conference on Enterprise Information Systems - Volume 2, ICEIS 2022
EditorsJoaquim Filipe, Michal Smialek, Alexander Brodsky, Slimane Hammoudi
PublisherScience and Technology Publications, Lda
Pages268-279
Number of pages12
ISBN (Electronic)9789897585692
DOIs
StatePublished - 2022
Event24th International Conference on Enterprise Information Systems, ICEIS 2022 - Virtual, Online
Duration: 25 Apr 202227 Apr 2022

Publication series

NameInternational Conference on Enterprise Information Systems, ICEIS - Proceedings
Volume2
ISSN (Electronic)2184-4992

Conference

Conference24th International Conference on Enterprise Information Systems, ICEIS 2022
CityVirtual, Online
Period25/04/2227/04/22

Keywords

  • API Documentation
  • Best Practices
  • Challenges
  • Web APIs

Fingerprint

Dive into the research topics of 'Challenges of API Documentation from a Provider Perspective and Best Practices for Examples in Public Web API Documentation'. Together they form a unique fingerprint.

Cite this