arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1902.10514cs.SEcs.CYcs.DB
收藏

RESTful或RESTless -当今顶级Web API的现状

RESTful or RESTless -- Current State of Today's Top Web APIs

Frederik Buelthoff, Maria Maleshkova

摘要:

Web服务领域的最新发展表明,可用的Web API以及构建在其上的应用程序的数量都在不断增加。这种趋势通常归因于REST架构原则的广泛采用。尽管如此,Web API的开发是相当自主的,由提供者决定如何实现、公开和描述Web API。然后,各个实现通常以文本形式记录为网页的一部分,在内容,结构和详细程度方面显示出各种各样的内容。因此,客户端应用程序开发人员被迫手动处理和解释文档。在实现更高水平的自动化并对当前的实践和技术进行任何重大改进之前,我们需要更深入地了解它们的相似性和差异性。因此,在本文中,我们通过检查文档,对最流行的Web API进行了全面的分析。我们提供了关于常见描述形式、输出类型、API参数的使用、调用支持、可重用性级别、API粒度和身份验证细节的结论。收集的数据为识别缺陷奠定了坚实的基础,并可用作设计Web API开发的通用标准和指南的基础。

英文摘要:

Recent developments in the world of services on the Web show that both the number of available Web APIs as well as the applications built on top is constantly increasing. This trend is commonly attributed to the wide adoption of the REST architectural principles. Still, the development of Web APIs is rather autonomous and it is up to the providers to decide how to implement, expose and describe the Web APIs. The individual implementations are then commonly documented in textual form as part of a webpage, showing a wide variety in terms of content, structure and level of detail. As a result, client application developers are forced to manually process and interpret the documentation. Before we can achieve a higher level of automation and can make any significant improvement to current practices and technologies, we need to reach a deeper understanding of their similarities and differences. Therefore, in this paper we present a thorough analysis of the most popular Web APIs through the examination of their documentation. We provide conclusions about common description forms, output types, usage of API parameters, invocation support, level of reusability, API granularity and authentication details. The collected data builds a solid foundation for identifying deficiencies and can be used as a basis for devising common standards and guidelines for Web API development.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑