Abstract
A Web API (WAPI) is a type of API whose interaction with its consumers is done through the Internet. While being accessed through the Internet can be challenging, mostly when WAPIs evolve, it gives providers the possibility to monitor their usage. Currently, WAPI usage is mostly logged for traffic monitoring and troubleshooting. Even though they contain invaluable information regarding consumers’ behavior, they are not sufficiently used by providers. In this paper, we first consider two phases of the application development lifecycle, and based on them we distinguish two different types of usage logs, namely development logs and production logs. For each of them we show the potential analyses (e.g., WAPI usability evaluation) that can be performed, as well as the main impediments, that may be caused by the unsuitable log format. We then conduct a case study using logs of the same WAPI from different deployments and different formats, to demonstrate the occurrence of these impediments and at the same time the importance of a proper log format. Next, based on the case study results, we present the main quality issues of WAPI logs and explain their impact on data analyses. For each of them, we give some practical suggestions on how to deal with them, as well as mitigating their root cause.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Espinha, T., et al.: Web API growing pains: loosely coupled yet strongly tied. J. Syst. Softw. 100 (2015)
Koçi, R., et al.: A data-driven approach to measure the usability of web APIs. In: Euromicro, SEAA. IEEE (2020)
Tan, W., et al.: From the service-oriented architecture to the web API economy. IEEE Internet Comput. 20(4) (2016)
Murphy, L., et al.: API designers in the field: Design practices and challenges for creating usable APIs. In: VL/HCC. IEEE (2018)
Zhang, T., et al.: Enabling data-driven API design with community usage data: a need-finding study. In: CHI (2020)
Espinha, T., et al.: Web API growing pains: stories from client developers and their code. In: CSMR-WCRE. IEEE (2014)
Eilertsen, A.M., Bagge, A.H.: Exploring API: client co-evolution. In: WAPI (2018)
Tanasa, D., Trousse, P.: Advanced data preprocessing for intersites web usage mining. IEEE Intell. Syst. 19(2) (2004)
Berendt, B., et al.: Measuring the accuracy of sessionizers for web usage analysis. In: Workshop on Web Mining at SDM (2001)
Macvean, A., et al.: API usability at scale. In: PPIG (2016)
Koçi, R., et al.: Improving Web API Usage Logging. arXiv:2103.10811 [cs.SE] (2021)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 Springer Nature Switzerland AG
About this paper
Cite this paper
Koçi, R., Franch, X., Jovanovic, P., Abelló, A. (2021). Improving Web API Usage Logging. In: Cherfi, S., Perini, A., Nurcan, S. (eds) Research Challenges in Information Science. RCIS 2021. Lecture Notes in Business Information Processing, vol 415. Springer, Cham. https://doi.org/10.1007/978-3-030-75018-3_45
Download citation
DOI: https://doi.org/10.1007/978-3-030-75018-3_45
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-75017-6
Online ISBN: 978-3-030-75018-3
eBook Packages: Computer ScienceComputer Science (R0)