You can publish and manage APIs using the and API proxy. You can get information about the published APIs using the API Catalog and APIs page.
You can publish and manage APIs using the
API Developer Portaland API proxy. You can get information about the published APIs using the API Catalog and APIs page.
You can also manage your APIs by way of the Portal API or use this API in your scripts for managing APIs.
For more information about the Portal API, see Portal API (PAPI).
In this article:
Examine APIs with the API Catalog
Administrators and API owners can get information about the published APIs using the API Catalog. The API Catalog shows the following information about each API:
- Public description
- Number of applications using the API
To open the API Catalog, follow these steps:
- Select theServicesicon.
- SelectPublish,API Catalog.
For more information about the API Catalog, see Browse the API Catalog - Publishers.
Examine APIs with the APIs Page and API Wizard
You can find and examine published APIs using the APIs page. This page shows the following information about each API:
- Portal State:The state of the API on theAPI Developer Portal:
- Enabled:Organization administrators and developers can add enabled APIs (checkmark) to applications and applications can consume them.
- Deprecated:Organization administrators and developers cannot add deprecated APIs (down arrow) to applications. If an API is already added to an application and the state of the API changes fromEnabledtoDeprecated, the application can continue to consume the API.
- Disabled:Organization administrators and developers cannot add disabled APIs (X) to applications. If an API is already added to an application and the state of the API changes from enabled to disabled, the application cannot continue to consume the API. If an API is already added to an API group and the state of the API changes from enabled to disabled, the following message appears on the Edit API Group page:This API Group contains disabled APIs and will not be available for applications of same organizations.
- Unpublished:Unpublished APIs (up arrow in cloud) are APIs that have been published on the API proxy. The API must be in theEnabledstate before organization administrators or developers can add it to their application and before their application can consume it.
- Visibility:A lock shows that the API is private. A private API is only available to organizations that have it in their account plan. APIs that do not have locks are public and available to all organizations. Publishers can access all APIs.
- Applications:The number of applications that have added the API.If an application has added an API, you might only be able to edit some of the API settings.
View the List of Applications that Have Added an API
On the APIs page, in the row of the API, select the number in the Applications column. The Applications page opens with a list of the applications to which an organization administrator or developer has added the API.
View the Details for an API
- On theAPIspage, in theAPI Namecolumn, select the name of the API that you want to view.The page with Overview information opens.
- View the information in theOverviewandDeploymenttabs.
View How and Where an API is Deployed in the Details Page
On the APIs page, select the name of the API to view the deployment details. A details page displays the
Deploymentstab with a list of proxies on which the API is deployed. APIs that are published but not deployed display the enrolled proxies with the
For each proxy enrolled with
API Portal, the deployment state, deployment type, and the date and timestamp displays:
- Deployment State:When an API is deployed, undeployed, or edited, the deployment state is updated.The deployment states are:
- Deployed (green). The current version of the API on theAPI Developer Portalis deployed to the API proxy shown.
- Pending Deployment (yellow). The deployment process is running. Deployment can take up to 2 minutes (6 minutes for the Hybrid solution).If the deployment state of the API changes on the API proxy while the API Details page is open, you can display the new deployment state faster by refreshing the browser. If an API has been stuck in thePending Deploymentstate for a long time, there might be an issue with the deployment to the specified proxy. For on-demand and scripted deployment types, select the deployment state link for a more detailed deployment response message.
- Error (red). If the API deployment state is inErrorstate, there is a deployment or connection problem with the specified proxy.To verify the state of a proxy, access the API Proxy Details page for each proxy. Then, check whether the APIs section is displaying a redxicon. If so, there is a problem reaching the API proxy. Contact your system administrator in this case. The redxicon on Proxy Details page does not apply to on-demand and scripted deployments.For on-demand and scripted deployment types, select the redErroricon on the API Details page to view more details about the error.
- Deployment Type:Deployment type determines how Portal published APIs are deployed to the proxy. The deployment type cannot be edited once APIs are deployed to the proxy. The deployment type is selected when adding an API proxy. A proxy supports the following deployment types:
- AutomaticAny changes to APIs are automatically deployed to the proxy.
- On-DemandAPI deployments are triggered on-demand by calling the deployment APIs. You can access these APIs from the APIs page.
- ScriptedAPI deployments are integrated into your existing CI/CD workflow by using the deployment APIs and invoking them from your deployment script.
- Last Updated timestamp:The details page also displays the date and timestamp of the last deployment attempt. The timestamp is updated on successful and failed deployments.