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

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.

主站蜘蛛池模板: 漾濞| 绥化市| 陆丰市| 鹤壁市| 重庆市| 潞城市| 巴林右旗| 安阳市| 乡宁县| 阿图什市| 静安区| 新和县| 马关县| 秀山| 疏附县| 黄石市| 山东省| 丹阳市| 大港区| 仲巴县| 信阳市| 东源县| 临夏县| 陆丰市| 金塔县| 即墨市| 黔江区| 南汇区| 泸溪县| 邢台县| 芦山县| 库尔勒市| 察哈| 吴桥县| 吉安市| 连州市| 惠安县| 吴旗县| 枣强县| 突泉县| 蕲春县|