Skip to main content

Publishing an API Collection

Publishing makes a collection available to consumers and generates its OpenAPI specification. Until a collection is published it exists only as a definition — its endpoints cannot be called through API Manager.

Before you begin​

  • The collection must already exist. See Creating an API Collection.
  • Confirm the endpoints in Added Endpoints are the ones you intend to expose. Publishing exposes every endpoint in the collection.

Publish the collection​

  1. Open API Manager > API Collections.
  2. Select the collection name to open it.
  3. Review the endpoints listed under Added Endpoints.
  4. Select Publish to Manager.

How you know it worked​

Studio confirms with Your collection was published successfully, and the collection's status changes from NOT PUBLISHED to PUBLISHED on the API Collections page. The Published at and Published by details are recorded against it.

The collection's OpenAPI Specification becomes available from the collection, and the collection appears under Published APIs.

When it does not work​

SymptomCauseWhat to do
Status stays NOT PUBLISHEDThe publish action did not completeReopen the collection and select Publish to Manager again
An expected endpoint is missing from the published APIThe path was never added to the collectionUpdate the collection to add the path, then republish
A published endpoint returns an error when calledThe underlying workflow is no longer deployedRedeploy the workflow, then republish the collection

Next steps​