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

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:

主站蜘蛛池模板: 舟山市| 阿拉尔市| 绥中县| 阿克苏市| 将乐县| 隆回县| 盈江县| 麦盖提县| 交城县| 大连市| 广丰县| 江山市| 祁门县| 莆田市| 云和县| 游戏| 英德市| 新化县| 邹城市| 金湖县| 磴口县| 博野县| 新营市| 凤凰县| 建德市| 饶阳县| 乌苏市| 溆浦县| 黄大仙区| 咸丰县| 莫力| 哈密市| 仲巴县| 于都县| 大安市| 阳西县| 深州市| 南宁市| 浪卡子县| 萝北县| 苍梧县|