Skip to main content

Improving Web API Usage Logging

  • Conference paper
  • First Online:
Research Challenges in Information Science (RCIS 2021)

Part of the book series: Lecture Notes in Business Information Processing ((LNBIP,volume 415))

Included in the following conference series:

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 99.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 129.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

Notes

  1. 1.

    https://www.dhis2.org/about.

  2. 2.

    http://mss4ntd.essi.upc.edu/wiki/index.php?title=WHO_Integrated_Data_Platform_(WIDP).

References

  1. Espinha, T., et al.: Web API growing pains: loosely coupled yet strongly tied. J. Syst. Softw. 100 (2015)

    Google Scholar 

  2. Koçi, R., et al.: A data-driven approach to measure the usability of web APIs. In: Euromicro, SEAA. IEEE (2020)

    Google Scholar 

  3. Tan, W., et al.: From the service-oriented architecture to the web API economy. IEEE Internet Comput. 20(4) (2016)

    Google Scholar 

  4. Murphy, L., et al.: API designers in the field: Design practices and challenges for creating usable APIs. In: VL/HCC. IEEE (2018)

    Google Scholar 

  5. Zhang, T., et al.: Enabling data-driven API design with community usage data: a need-finding study. In: CHI (2020)

    Google Scholar 

  6. Espinha, T., et al.: Web API growing pains: stories from client developers and their code. In: CSMR-WCRE. IEEE (2014)

    Google Scholar 

  7. Eilertsen, A.M., Bagge, A.H.: Exploring API: client co-evolution. In: WAPI (2018)

    Google Scholar 

  8. Tanasa, D., Trousse, P.: Advanced data preprocessing for intersites web usage mining. IEEE Intell. Syst. 19(2) (2004)

    Google Scholar 

  9. Berendt, B., et al.: Measuring the accuracy of sessionizers for web usage analysis. In: Workshop on Web Mining at SDM (2001)

    Google Scholar 

  10. Macvean, A., et al.: API usability at scale. In: PPIG (2016)

    Google Scholar 

  11. Koçi, R., et al.: Improving Web API Usage Logging. arXiv:2103.10811 [cs.SE] (2021)

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Rediana Koçi .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics