paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Developer Perspectives on REST API Usability: A Study of REST API Guidelines

REST API 可用性的开发者视角:一项关于 REST API 指南的研究
FSE Proceedings of the 34th ACM International Conference on the Foundations of Software Engineering2026匹配度 2/10 · 论文是面向 REST API 指南与开发者实践的经验访谈研究,核心在 API 可用性和组织采纳流程,而非静态分析、LLM/Agent 或浮点/贝叶斯程序分析方法;仅末尾提到自动化 linting 可作为合规检查机会,与研究方向只有很弱的工具层面关联。引用 2 inbox
Sven Peldszus, Jan Rutenkolk, Marcel Heide, Jan Sollmann, Benjamin Klatt, Frank Köhne, Thorsten Berger
crossref: 2026-09-12dblp: 2026-09-12arxiv: 2026-09-12

AI 速览

一句话:通过访谈16位业界REST API专家,揭示影响API可用性的八项因素以及指南采纳与设计中的挑战和最佳实践。

REST API 已成为 SaaS 时代的核心业务资产,但开发者仍难以设计出有效的 REST API。尽管 Zalando、Microsoft 等提出了流行指南,它们常被认为过于庞大且不适用,许多公司因此自建指南并面临维护挑战。为了改进现状,本文对16位来自业界的 REST API 专家进行访谈研究,旨在实证理解 REST API 指南的采纳、使用与创建过程。研究确定了 API 可用性的概念、影响 REST API 可用性的八项因素,其中对约定的遵循最为重要;同时提炼了指南有效性因素、采纳与设计指南的挑战以及最佳实践。结果表明,指南确实能提升 API 可用性,但开发者对严格指南存在明显抵触;指南规模及其与组织需求的契合度是关键考量,指南需随组织成长,并让所有利益相关者参与开发与维护。自动化 linting 不仅能将合规检查嵌入流程,还可通过教育性解释来证明规则合理性。

问题
REST API 指南虽多,但常因过于庞大或不适用而难以落地,开发者仍难以设计有效的 REST API,缺乏对指南采纳、使用和创建的实证理解。
方法
对16位来自工业界的 REST API 专家进行访谈研究,并对访谈内容进行定性分析,提炼 API 可用性概念、影响因素、挑战与最佳实践。
评估
基于16位业界专家的访谈数据,识别出八项影响 REST API 可用性的因素,并总结指南有效性、采纳障碍、组织适配与自动化 linting 等实践启示。
原文摘要(Abstract)

REST is today's most widely used architectural style for providing web-based services. In the age of service-orientation—a.k.a. Software as a Service (SaaS)—APIs have become core business assets and can easily expose hundreds of operations. While well-designed APIs contribute to the commercial success of a service, poorly designed APIs can threaten entire organizations. Recognizing their relevance and value, many guidelines have been proposed for designing usable APIs, similar to design patterns and coding standards. For example, Zalando and Microsoft provide popular REST API guidelines. However, they are often considered as too large and inapplicable, so many companies create and maintain their own guidelines, which is a challenge in itself. In practice, however, developers still struggle to design effective REST APIs. To improve the situation, we need to improve our empirical understanding of adopting, using, and creating REST API guidelines. We present an interview study with 16 REST API experts from industry. We determine the notion of API usability, guideline effectiveness factors, challenges of adopting and designing guidelines, and best practices. We identified eight factors influencing REST API usability, among which the adherence to conventions is the most important one. While guidelines can in fact be an effective means to improve API usability, there is significant resistance from developers against strict guidelines. Guideline size and how it fits with organizational needs are two important factors to consider. REST guidelines also have to grow with the organization, while all stakeholders need to be involved in their development and maintenance. Automated linting provides an opportunity to not only embed compliance enforcement into processes, but also to justify guideline rules with educational explanations.

链接与引用

DOI 原文 · arXiv · PDF(开放获取) · DBLP

BibTeX
@inproceedings{abs-2601-16705,
  title = {Developer Perspectives on REST API Usability: A Study of REST API Guidelines},
  author = {Sven Peldszus and Jan Rutenkolk and Marcel Heide and Jan Sollmann and Benjamin Klatt and Frank Köhne and Thorsten Berger},
  booktitle = {FSE},
  year = {2026},
  doi = {10.1145/3803437.3805267}
}