To create APIs in an organization, you must belong to a role that has the "Create Assets" or "Manage Assets" permission for that organization. To see a list of the predefined roles that include the "Create Assets" or "Manage Assets" permission, see the section About Roles and Permissions in the document Users, Groups, Roles and Permissions.
To create an API
In CentraSite Business user interface, click the Create a New Asset wizard.
activity. This opens theIn Basic Information panel, specify the following fields:
In this field... | Do the following... |
---|---|
Name | Mandatory. Enter a name for the API.
An API name can contain any character (including spaces).
An API name does not need to be unique within the catalog. However, to reduce ambiguity, you should avoid giving multiple APIs of the same type the same name. As a best practice, we recommend that you adopt appropriate naming conventions to ensure that APIs are distinctly named within an organization. |
Type |
Choose the type of API that you want to create in the catalog. The APIs that are supported out-of-the-box are: Service, REST service, XML Service, Virtual Service, Virtual XML Service, and Virtual REST Service. |
Organization |
Choose the organization in which the API will be created. (The drop-down list will contain the list of organizations in which you are permitted to create APIs.) If you select an organization other than your own organization, you will nevertheless be the owner of the API. |
Version | Optional. Enter an identifier for the initial version of the API. This is the user-defined version, as opposed to the automatically assigned system version. You can enter any string in this field, i.e. the version identifier does not need to be numeric. You can also leave the field blank. You can later create new versions of the API. |
Description | Optional. Enter a comment or descriptive information about the API. |
Import File | For a SOAP API. Specify whether the
input file will be read from a URL-addressable location on the network (the
URL option) or from your local file system (the
File option).
|
Advanced Settings | For a SOAP API.
|
Click
.You will not be allowed to move to the next panel unless all of its required parameters have been set.
In the Preview panel, review the basic information for API before you actually add to CentraSite.
If necessary, you can click Basic Information panel and change your specifications.
to return to theClick
to create the new API.If at any time you wish to abandon your unsaved API and return to your previous screen, just click the
button.Configure the API’s extended attributes as described in the section Editing the Properties of an API.