Administration APIs
Explore the administration APIs available for managing resources in federated API management.
On the Download Resources page, click the Download icon next to the OpenAPI specification REST APIs and postman collections to download the OpenAPI specifications and its corresponding postman collection respectively.
Runtime Management
Federated API management exposes REST APIs to help you create, read, update, and delete multiple runtimes like API Gateway running in different landscapes.
The following table displays the REST APIs and resources to manage runtimes.
| Resource | Description |
|---|---|
| Method - POST Endpoint - |
Creates a runtime. The resource is only accessible to the API platform provider user role. |
| Method - GET Endpoint - |
Retrieves all the runtimes. All user roles have access to the resource. |
| Method - GET Endpoint - |
Retrieves a runtime with the specified ID. All user roles have access to the resource. |
| Method - PUT Endpoint - |
Updates a runtime with the specified ID. This resource is only accessible to the API platform provider user role. |
| Method - DELETE Endpoint - |
Deletes a runtime with the specified ID. The resource is only accessible to the API platform provider user role. |
| Method - GET Endpoint -
|
Retrieves the list of countries supported by federated API management. The resource is only accessible to the API platform provider user role. |
| Method - GET Endpoint - |
Retrieves all possible states for the specified country in the path parameters. The resource is only accessible to the API platform provider user role. |
| Method - GET Endpoint - |
Retrieves all possible states for the specified country and state in the path
parameters. The resource is only accessible to the API platform provider user role. |
| Method - GET Endpoint -
|
Retrieves all possible location details such as city, state, and country for the specified
city in the path parameters. The resource is only accessible to the API platform provider user role. |
POST/api/assetcatalog/v1/runtimesGET/api/assetcatalog/v1/runtimesGET/api/assetcatalog/v1/runtimes/{id}PUT/api/assetcatalog/v1/runtimes/{id}x`
Runtime Type Management
Federated API management exposes REST APIs to help you create, read, update, and delete multiple runtime types like WEBMETHODS_DEVELOPER_PORTAL, WEBMETHODS_API_GATEWAY.
| Resource | Description |
|---|---|
| Method - POST Endpoint - |
Creates new runtime type in federated API management. |
| Method - GET Endpoint - |
Retrieves the list of available runtimes types in federated API management. |
| Method - GET Endpoint -
|
Retrieves the details of the specified runtime type in federated API management. |
| Method - PUT Endpoint -
|
Updates the specified runtime type in federated API management. |
| Method - DELETE Endpoint -
|
Deletes the specified runtime type in federated API management. |
Data Plane Management
Data planes in federated API management are a collection of runtimes like API Gateway running in different landscapes.
Federated API management exposes REST APIs to help you create, read, update, and delete data planes.
The following table displays the REST APIs and resources to manage data planes.
| Resource | Description |
|---|---|
| Method - POST Endpoint - |
Creates a data plane. The resource is only accessible to the API platform provider user role. |
| Method - GET Endpoint - |
Retrieves all the data planes. All user roles have access to the resource. |
| Method - GET Endpoint - |
Retrieves a data plane with the specified ID. All user roles have access to the resource. |
| Method - GET Endpoint
- |
Retrieves a list of runtimes that is associated with the data plane with the specified ID.
All user roles have access to the resource. |
| Method - PUT Endpoint - |
Updates a data plane with the specified ID. The resource is only accessible to the API platform provider user role. |
| Method - DELETE Endpoint -
|
Deletes a data plane with the specified ID. The resource is only accessible to the API platform provider user role. |
API Management
Federated API management exposes REST APIs to help you create, read, update, and delete APIs within runtimes.
The following table displays the REST APIs and resources to manage APIs.
| Resource | Description |
|---|---|
| Method - POST Endpoint - |
Creates an API in the specified runtime. The resource is only accessible to the API product manager user role. |
| Method - GET Endpoint - |
Retrieves all the APIs in federated API management. All user roles have access to the resource. |
| Method - GET Endpoint -
|
Retrieves all the APIs in the specified runtime. All user roles have access to the resource. |
| Method - GET Endpoint
- |
Retrieves a specific API in the specified runtime. All user roles have access to the resource. |
| Method - PUT Endpoint
- |
Updates a specific API in the specified runtime. The resource is only accessible to the API product manager user role. |
| Method - DELETE Endpoint
- |
Deletes a specific API in the specified runtime. The resource is only accessible to the API product manager user role. |
Runtime Metrics
exposes REST APIs to help you create runtime’s heartbeat and metrics in Federated API management.
The following table displays the REST APIs and resources to create runtime’s heartbeat and metrics in Federated API management.
| Resource | Description |
|---|---|
| Method - POST Endpoint - |
Creates the runtime’s hearbeat in Federated API management. The resource is accessible to the API platform provider and API product manager user roles. |
| Method - POST Endpoint - |
Creates the runtime’s metrics in Federated API management. The resource is accessible to the API platform provider and API product manager user roles. |
| Method - POST Endpoint - |
Creates the AI powered gateway runtime’s metrics in Federated API management. The resource is accessible to the API platform provider and API product manager user roles. |
Federated API management Search
With Search API, you can run a search or count query in Federated API management and return the search results that match the search query or the count of objects matching the search query.
Federated API management provides the following REST API resources,
-
POST/assetcatalog/v1/search. Runs a search query in Federated API management and returns the search results that match the input query. You can perform searches on different objects, such as API, DATAPLANE, RUNTIME, and AUDITEVENT, but only one object can be searched at a time.Specify the following in your REST request to perform a search operation,
REST request payload section Description typeObjects for which you want to perform the search operation. You can specify one of the following listed objects: - API
- DATAPLANE
- RUNTIME
- AUDITEVENT
queryConsists of a list of conditions that are connected by a logical connector. You can only use the same logical connector between conditions; it must be either AND or OR, not both. conditionsConsists of a list of criteria that are connected by a logical connector. You can only use the same logical connector between criterias; it must be either AND or OR, not both. criteriasIndicates the actual condition that applies to the field, providing the field's name, value, and any operators that are applied to it. For example, contains. fromIndicates the starting point from which records must be fetched. For instance, from = 5indicates that the sixth object is the starting point. In Opensearch, record indexing starts at 0, meaning that the first object has an index of 0.By default, the
fromparameter is set to 0.If the value of the
fromparameter exceeds the total number of records available in Opensearch, the search does not return any results.sizeIndicates the number of records that must be fetched. For example, for a size of 10, 10 records are returned beginning with the fromvalue.The default is 10000.
responseFieldsSpecifies the fields that must be returned in the response. You can specify only the needed fields instead of viewing all the fields in your response. For example, if you want to view only the name and type fields for objects of type API, you can specify nameandapiTypein your REST request.To fetch all fields, you can use *.
sortFieldsContains the field names and sort order based on which the search results must be sorted. For example, {"name":"DESC","created":"DESC"}. In this example, the results are sorted by name in descending order, and then by created date in descending order. If you don't specify any sort fields, the system sorts the results by using thelastModifieddate in descending order. -
POST/assetcatalog/v1/count. Retrieves the total number of records that match the input type and the input query. If you do not specify the query, the system returns the total number of records present for the input type.To retrieve the count of records, you can specify the needed type, query, conditions, and criteria similar to the
/searchquery. The count query does not take thefrom,size,response, andsortfields into consideration.
Audit Logs
Federated API management exposes the following REST API to retrieve the record of events performed on the assets (APIs, runtimes, and data planes) during a specific time period.
| Resource | Description |
|---|---|
| Method - POST Endpoint - |
Retrieves the list of events (created, updated, deleted) performed on the APIs, runtimes, and
data planes for the specified time period. All user roles have access to the resource. |
| Request body | Description |
|---|---|
From, To |
Specify the time period for which you want to retrieve the audit logs in epoch
format. Example, |
| Type | Specify one or more of the following asset types for which you want to retrieve the audit
logs:
|
{
"from": "1673352361557",
"to": "1673355631997",
"types": [
"DATAPLANE",
"RUNTIME",
"API"
]
}
Bulk API Management
Federated API management offers REST APIs that allows to create, update, and delete (CUD) multiple APIs in a single request. The bulk API management capability is essential, as performing CUD operations for multiple APIs individually can result in high network latency, negatively impacting the performance. By using bulk APIs, you can efficiently manage a single operation such as create, update, or delete for multiple APIs in one request, improving performance and reducing latency.
These bulk APIs operate asynchronously. When you send a request to create multiple APIs, the bulk API immediately responds with a Job ID and a URL, where you can check the status of your request. This asynchronous processing means that the bulk API handles the request in the background, which enables you to check the status of your request immediately.
Job status lifecycle
| Job status | Description |
|---|---|
| PENDING | The job is not yet picked up for processing. |
| PROCESSING | The job is being processed. |
| COMPLETED | The job is processed successfully. |
Managing Bulk APIs
The following table describes the REST APIs and resources available for managing Bulk APIs.
| Resource | Description |
|---|---|
| Method - POST Endpoint -
|
Creates a set of APIs within the specified runtime in Federated API management. Specify
the list of APIs in an array. The resource is only accessible to the API product manager user role. |
| Method - POST Endpoint -
|
Updates a set of APIs within the specified runtime in Federated API management. Specify
the list of APIs in an array. The resource is only accessible to the API product manager user role. |
| Method - POST Endpoint -
|
Deletes a set of APIs within the specified runtime in Federated API management. Specify
the list of APIs in an array. The resource is only accessible to the API product manager user role. |
| Method - GET Endpoint - |
Retrieves all jobs. Supported parameters:
|
| Method - GET Endpoint - |
Retrieves job of the specified jobId. Supported parameter: originalPayload
By default, originalPayload is set to false. If set to true, the payload of the job is displayed. Else, a null payload is displayed. All user roles have access to the resource. |