REST API Details
The REST framework enables you to model APIs conforming to the (Resource Oriented Architecture) ROA design. For example, you might model an API that serves to expose the web service data and functionality as a collection of resources. Each resource is accessible with unique Uniform Resource Identifiers (URLs). In your API, you expose a set of HTTP operations (methods) to perform on a specific resource and capture the request and response messages and status codes that are unique to the HTTP method and linked within the specific resource of the API.
The API details view for a REST API displays the details of the API such as Basic and Technical information, Resources and methods, API mocking details, and specifications. You can also view the scopes associated, policies enforced, registered applications and the API-specific analytics.
The table lists the API details displayed for the API
Field | Description |
Basic information | Displays the information about the API, such as Name, Version, Owner of the API, status of the API whether its is Active or Inactive, the maturity state of the API, the date on which the API was created and a brief description of the API. |
Technical information | Displays the native endpoints of the API. |
Resources and methods | Displays a list of resources or methods available in the API sorted by resource/pathname. The list of resources are displayed in sorted order of the path names. Click each resource to view the corresponding HTTP methods, along with a summary. Below each of these methods, details such as parameters and response codes are displayed. |
API mocking | Details are visible only when API mocking is enabled. Displays a list of mocked responses for the operations in the API, custom IS service list and conditions along with its mocked response. |
Components | Displays the schemas defined at the API level. |
Documentation | Displays the definition of the API in different formats. |
Various tabs displayed in the API details page display the following details:
![*](chapterTOC_bullet.png)
The
Scopes tab lists the scopes available for the API.
![*](chapterTOC_bullet.png)
The
Policies tab displays the policies enforced for the API.
![*](chapterTOC_bullet.png)
The
Mashups tab displays the mashups defined in the API.
![*](chapterTOC_bullet.png)
The
Applications tab displays all the applications registered with the API.
![*](chapterTOC_bullet.png)
The
Analytics tab displays the API-specific analytics for the time interval selected.
You can perform the following operations from the API details page:
![*](chapterTOC_bullet.png)
You can enable API mocking by clicking the
Enable mocking button. If API mocking is enabled, you can disable it by clicking the
Disable mocking button. This option is available when the API is in the deactivated state.
![*](chapterTOC_bullet.png)
You can update an API by importing from file or from URL by clicking the
Update button. This option is available when the API is in the deactivated state.
![*](chapterTOC_bullet.png)
You can create a new version of the API by clicking the
Create new version button.
![*](chapterTOC_bullet.png)
You can modify details of an API by clicking the
Edit button. This option is available when the API is in the deactivated state.
![*](chapterTOC_bullet.png)
You can activate an API by clicking the
Activate button. If the API is already activated, you can deactivate it by clicking the
Deactivate button.