In this Article

Overview 

You can create and manage multiple versions of your APIs. A version of an API contains SnapLogic assets such as Pipelines, Tasks, and Open API Specification files. Clicking an API on the API Details page opens the Version Details page, where you can view details about the version and add API policies. You can also search through assets in a Version and view Permission sets.

When you are viewing an API version, you can navigate to the API Details and API Management landing page by clicking the respective folders in the folder path.

The following example illustrates the path of an API version:

API Manager - /apim/API_Test/1.1

From this view, you can click at any component in the path to navigate to that level of the API Management hierarchy:

Prerequisites

API Manager

You can navigate to the API Manager console by clicking Manager > API Management > API Manager.

Creating an API Version Using Design First

  1. Navigate to API Management > API Manager, and click the target API to display the API Details page.

  2. Click the Versions tab, then click  to display the Create Version dialog window.


  3. In the Create API version dialog window, import the API Specification by selecting one of the following options, then click Continue:
  4. Select/deselect the Import Configuration options, then click Import and Continue.
    The options for import are selected by default.


  5. Enter information about your Version, then click Create.

    You must enter a name and Snaplex. You can also change the version from this dialog window, and therefore create another version of the API.

    After you create a version of an API, the Version asset is displayed on the Versions Details page. You can view information about the assets used in the API version by clicking it.


Creating an API Version from Existing Project Assets

  1. Navigate to API Management > API Manager, and click the target API to display the API Details page.

  2. Click the Versions tab, then click  to display the Create Version dialog window.


  3. In the Create API version dialog window, select Create from Existing Project, then click Continue:


  4. In the Create API Version-Select Assets dialog window, select/deselect the assets from the Project to use in the API Version, then click Import and Continue.
    Pipelines, Tasks, and Files are selected by default.


  5. Enter information about your API Version, then click Create.

    You must enter a name and Snaplex. You can also change the version from this dialog window, and therefore create another version of the API.

    After you create a version of an API, the Version asset is displayed on the Versions Details page. You can view information about the assets used in the API version by clicking it.

Creating an Empty API Version

  1. Navigate to API Management > API Manager, and click the target API to display the API Details page.

  2. Click the Versions tab, then click  to display the Create Version dialog window.


  3. In the Create API version dialog window, select Create Empty API Version click Continue.


  4. Enter information about your Version, then click Create.

    You must enter a name and Snaplex. You can also change the version from this dialog window, and therefore create another version of the API.

    After you create a version of an API, the Version asset is displayed on the Versions Details page. You can view information about the assets used in the API version by clicking it.

Deleting an API version

  1. Navigate to API Management > API Manager, click the target API to display the API details page.

  2. Click the Versions tab and point your cursor on the target Version.
    The delete icon is displayed.


  3. Click  to delete the API Version, then click Delete on the confirmation prompt.

The API Version is deleted from the API Manager console.

You must delete all of the Assets in a Version before you can delete the Version.


Managing API Version Assets

You can manage the Assets in your API Version on the Assets tab of your API Version. You can search for the following Asset types:

Adding an Asset

  1. In Manager > API Management > API Manager, navigate to the target version and click to display the Version Details page.

  2. Click  to display the assets menu.


  3. Select one of the following choices:
  4. Complete the required dialogs associated with the type of Asset.


Deleting an Asset

  1. In Manager > API Management > API Manager, navigate to the target API Version and click it to display the Version Details page.

  2. Click the Assets tab and point your cursor on the target Asset.
    The Trash icon is displayed.


  3. Click  to delete the Asset, then click Delete on the confirmation prompt.