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

Apiary editor

The landing page after an API designer signs in, from this page an API Blueprint or Swagger file for an API project can be edited. There are a few features available in the editor that are worth highlighting.

As a designer works on the API design, the right-hand side of the screen dynamically renders to show the specification in styled HTML 5. Just as regular API consumers (that is, app developers) would look at it. From this same page, it is possible to test API resources again just like API consumers would-Apiary comes with a mock-up engine that automatically generates API mockups on the fly. Moreover, as the API design takes place, inline conventions and pattern validation also occurs thus ensuring that the design is consistent with the team-specified styles (described later in the chapter). This and more features will be covered in Chapter 3Designing the API in greater detail.

Personal view–editor

From this same page, on the top-right hand side, it is possible to search existing API projects, open a project, or create a new one either in API Blueprint or Swagger:

Personal view-create/search API project

When a user clicks on Create New API Project, then the New API window appears. From here the user can decide to create an API only accessible by its creator, a Personal API, or an API that can be viewed and edited by the entire team, a Team API:

Personal view–create/search API project

A concept worth understanding up-front when creating a new API project is the notion that an API belongs to either a person or a team. When an API belongs to the person, only the user that created the API can see it and edit it. However, when a project belongs to the team, the entire team can see it and those with designated rights can also edit it.

主站蜘蛛池模板: 内江市| 图们市| 吐鲁番市| 武乡县| 陇川县| 广平县| 揭西县| 凌源市| 积石山| 吴忠市| 白朗县| 沈阳市| 湾仔区| 汶上县| 通城县| 辰溪县| 宁夏| 五河县| 永寿县| 常熟市| 盐源县| 金门县| 亚东县| 望城县| 吉木乃县| 丹巴县| 乌海市| 水富县| 库车县| 平江县| 南部县| 介休市| 梁山县| 万荣县| 哈密市| 太白县| 仪陇县| 合山市| 襄城县| 广汉市| 哈尔滨市|