restful api 设计原则

时间:2020-08-14 01:40:55   收藏:0   阅读:62

 

目录

  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

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!