restful api 设计原则

目录

  1. 定义(Definitions)
  2. 数据的设计与抽象化(Data Design and Abstraction)
  3. HTTP动词 (Verbs)
  4. 版本(Versioning)
  5. 分析 (Analytics)
  6. API根路径 (API Root URL)
  7. 路径 (Endpoint)
  8. 信息过滤 (Filtering)
  9. 状态码 (Status Codes)
  10. 文档返回值 (Expected Return Documents)
  11. 身份认证 (Authentication)
  12. 内容形式 (Content Type)
  13. 超媒体 (Hypermedia APIs)
  14. 文档 (Documentation)
  15. 其它:HTTP包文
转载(http://angelbill3.iteye.com/blog/2108785
原文(https://codeplanet.io/principles-good-restful-api-design/
 
 
原文地址:https://www.cnblogs.com/erichi101/p/13497934.html