Abstract
The use of web Application Programming Interfaces (WAPIs) has experienced a boost in recent years. Developers (i.e., WAPI consumers) are continuously relying on third-party WAPIs to incorporate certain features into their applications. Consequently, WAPI evolution becomes more challenging in terms of the service provided according to consumers’ needs. When deciding on which changes to perform, besides several dynamic business requirements (from the organization whose data are exposed), WAPI providers should take into account the way consumers use the WAPI. While consumers may report various bugs or may request new endpoints, their feedback may be partial and biased (based on the specific endpoints they use). Alternatively, WAPI providers could exploit the interaction between consumers and WAPIs, which is recorded in the WAPI usage logs, generated while consumers access the WAPI. In this direction, this paper presents PatternLens, a tool with the aim of supporting providers in planning the changes by analyzing WAPI usage logs. With the use of process mining techniques, this tool infers from the logs a set of usage patterns (e.g., endpoints that are frequently called one after the other), whose occurrences imply the need for potential changes (e.g., merging the two endpoints). The WAPI providers can accept or reject the suggested patterns, which will be displayed together with informative metrics. These metrics will help providers in the decision-making, by giving them information about the consequences of accepting/rejecting the suggestions.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Abelló, A., Ayala, C., Farré, C., Gómez, C., Oriol, M., Romero, O.: A data-driven approach to improve the process of data-intensive API creation and evolution. In: Proceedings of the 29th International Conference on Advanced Information Systems Engineering (CAiSE 2017), pp. 1–8. CEUR-WS. org (2017)
Macvean, A., Church, L., Daughtry, J., Citro, C.: API usability at scale. In: PPIG (2016)
Koçi, R., Franch, X., Jovanovic, P., Abelló, A.: Classification of changes in API evolution. In: 2019 IEEE 23rd International Enterprise Distributed Object Computing Conference (EDOC), pp. 243–249. IEEE (2019)
Wang, S., Keivanloo, I., Zou, Y.: How do developers react to RESTful API evolution? In: Franch, X., Ghose, A.K., Lewis, G.A., Bhiri, S. (eds.) ICSOC 2014. LNCS, vol. 8831, pp. 245–259. Springer, Heidelberg (2014). https://doi.org/10.1007/978-3-662-45391-9_17
Li, J., Xiong, Y., Liu, X., Zhang, L.: How does web service API evolution affect clients?. In: 2013 IEEE 20th International Conference on Web Services, pp. 300–307. IEEE (2013)
Van der Aalst, W.: Data science in action. In: van der Aalst, W. (ed.) Process Mining, pp. 3–23. Springer, Heidelberg (2016). https://doi.org/10.1007/978-3-662-49851-4_1
Espinha, T., Zaidman, A., Gross, H.-G.: Web API growing pains: loosely coupled yet strongly tied. J. Syst. Softw. 100, 27–43 (2015)
Koçi, R., Franch, X., Jovanovic, P., Abelló, A.: A data-driven approach to measure the usability of web APIs. In: 2020 46th Euromicro Conference on Software Engineering and Advanced Applications (SEAA), pp. 64–71. IEEE (2020)
Zhang, T., Hartmann, B., Kim, M., Glassman, E.L.: Enabling data-driven API design with community usage data: a need-finding study. In: Proceedings of the 2020 CHI Conference on Human Factors in Computing Systems, pp. 1–13 (2020)
Doerrfeld, B.: 10+ API Monitoring Tools. https://nordicapis.com/10-api-monitoring-tools
Acknowledgment
This work is supported by GENESIS project, funded by the Spanish Ministerio de Ciencia e Innovación under project TIN2016-79269-R.
Author information
Authors and Affiliations
Corresponding authors
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). PatternLens: Inferring evolutive patterns from web API usage logs. In: Nurcan, S., Korthaus, A. (eds) Intelligent Information Systems. CAiSE 2021. Lecture Notes in Business Information Processing, vol 424. Springer, Cham. https://doi.org/10.1007/978-3-030-79108-7_17
Download citation
DOI: https://doi.org/10.1007/978-3-030-79108-7_17
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-79107-0
Online ISBN: 978-3-030-79108-7
eBook Packages: Computer ScienceComputer Science (R0)