Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added a note for copying subscriptions to lower versions

...

  1. Log in to the API Publisher as a user who has the publisher role assigned. 
  2. Click the API that you prototyped in the previous tutorial (e.g., PhoneVerification 2.0.0).
    Image RemovedImage Added

  3. Go to the API's Lifecycle tab and click Publish

    Info
    iconfalse

    Tip: The Lifecycle tab is only visible to users with publisher privileges.

    Image Removed

    Image Added

    Tip

    Tip: Leave the Require Re-Subscription check box cleared if you want all users who are subscribed to the older version of the API to be automatically subscribed to the new version. If not, they need to subscribe to the new version again.You can choose to deprecate old versions of this API at this stage by selecting the Deprecate Old Versions check box.

    Note
    titleNote
    Users will not automatically get subscribed to lower versions of an existing API even if the lower version is newly created. For example, if you create version v1 from existing API version v2, the subscriptions belonging to v2 are not automatically assigned to v1.

    The API is now published to the default API Store.

  4. Log in to the default Store and click the APIs menu to see the API that you just published listed there.Image Removed
  5. Go back to the API Publisher and click the API that you want to deprecate (e.g., PhoneVerification 1.0.0).Image Removed

  6. Go to the API's Lifecycle tab and click Deprecate
    Image RemovedImage Added
    The API is now deprecated.

  7. Go back to the API Store, click the My Subscriptions menu and look under the Subscribed APIs sectionApplications menu and open the Default Application. Click the Subscriptions tab to see the deprecated API. The subscriptions made to the older API versions must be deprecated now.

    Image RemovedImage Added

    Tip

    Tip: When an API is deprecated, new subscriptions are disabled (you cannot see the subscription options) and existing subscribers can continue to use the API as usual until it is eventually retired.

You have published an API to the API Store and deprecated its previous versions.