官术网_书友最值得收藏!

Experience-based APIs

Experience-based APIs represent a different approach to resource-based APIs. Here, the concept is One-Size-Fits-All (OSFA). Basically, the key to experience-based APIs is providing endpoints that are focused on the experience itself, which isn't only the user's experience—it could be the home screen experience.

The following example shows the dashboard-screen operation being directly connected to the Nintendo resource, thus expressing the experience of the screen on Nintendo:

/nintendo/dashboard-screen

This concept came from Netflix and, in general, it is an extension of the proxy pattern, where new proxy endpoints will be designed, developed, and configured to focus on the business requirements of the API consumers.

The following diagram shows how the Experience-based APIs building blocks connect to the external world (web, mobile, and so on) and with downstream systems such as the Legacy API:

主站蜘蛛池模板: 远安县| 诸暨市| 泸州市| 湘西| 惠来县| 浦城县| 囊谦县| 偏关县| 大埔县| 和林格尔县| 宁河县| 界首市| 鄂伦春自治旗| 定州市| 东辽县| 扶余县| 镇雄县| 来凤县| 安塞县| 江华| 宝坻区| 岱山县| 开原市| 威宁| 囊谦县| 新竹市| 朝阳区| 明星| 凤翔县| 松滋市| 于都县| 林甸县| 木里| 美姑县| 永定县| 积石山| 茂名市| 驻马店市| 广饶县| 南城县| 靖州|