Publishing a package

Before you begin

Make sure you have the taken care of the following points before you publish a package:

  • A destination is configured.
  • The package is active.
  • The package has at least one plan and API associated with it.
  • The APIs associated with the package are published to the destination.

About this task

You must have the Publish to Developer Portal functional privilege to perform this task.

You can publish a package to the configured destination, for example Developer Portal. Once the package is published, the APIs associated with the package are available to consumers. The package level token is applicable to all APIs associated with the package. The consumers do not have to request an access token for individual APIs to consume them.

Procedure

  1. Open the menu options and select Manage > Packages.
    A list of all packages appears.
  2. Click the Publish icon for the package that must be published.
  3. Select the communities to which the package needs to be published.
    By default, a package is published to the Public Community of Developer Portal.
    Note: The list of communities that are displayed are common to which the APIs associated with this package are already published to.
  4. Click Publish.
    A success message is displayed when the package is successfully published. The package is now published to the destination, for example Developer Portal, that is configured and is available on Developer Portal to consumers.

    You can unpublish a package once it is published by clicking the Unpublish icon for the necessary package.