- Hands-On RESTful Web Services with TypeScript 3
- Biharck Muniz Araújo
- 176字
- 2021-07-02 12:19:20
Organizing API endpoints
The first important thing that you need to know about organizing API endpoints is that a resource is any information that can be named, which means that a URI should be an entity-based order and not datatype-based current-order-items.
It is good practice to separate internal/private APIs from external/public APIs, for example, by keeping private APIs in the same VPC or making them available only to the company or a specific domain, and making public ones available to any consumer, and sometimes over the internet. It is really common to expose business capabilities externally and foundation capabilities internally. It is important to organize and expose APIs properly, since they will always be used—and they will be used properly. Taking advantage of the business capabilities and creating business-oriented APIs allows an organization to get the most value out of those APIs.
There are three categories of APIs, which allows organizations to create business-oriented APIs:
- Resource-based APIs
- Experience-based APIs
- Capability-based APIs
We will discuss these in more detail in the following sections.
- Hands-On RESTful Web Services with TypeScript 3
- 視覺康復(fù)指南
- 兒童青少年情緒障礙
- 慢性腎臟病診療與保健
- 高脂血癥百家百方
- 圖說超廣角熒光素眼底血管造影
- 孤獨(dú)癥譜系障礙兒童家庭訓(xùn)練100問
- 紫外線皮膚科實(shí)戰(zhàn)口袋書
- Android Studio 4.0 Development Essentials(Java Edition)
- 兒童音樂治療理論與應(yīng)用方法
- 身體關(guān)節(jié)功能篩查及糾正
- 走進(jìn)孤獨(dú)的世界:為家長(zhǎng)專業(yè)解讀自閉癥
- 預(yù)防老年人跌倒健康教育教程(工作人員用書)
- 原發(fā)性肝癌放射治療臨床實(shí)踐
- 中國(guó)臨床腫瘤學(xué)年度研究進(jìn)展2016