In this article

Overview

In SnapLogic Manager, the API Manager console provides a space where you can create APIs by referencing a specification. The new API asset acts as a container for the following SnapLogic assets.

You can create an API using one of four ways:

The first version is automatically created when you create the API. However, you can create additional versions of your API and manage them.

Prerequisites

API Manager

To navigate to the API Manager, go to Manager > API Management > API Manager.

Creating the API using Design First

  1. In the API Manager page, under the APIs & Proxies tab, click the add icon ( (blue star) ) and choose New API.

  2. In Create New API, choose the source of the OAS file.

  3. In the Create New API - Options dialog window select/deselect from the following import options, and then click Import and Continue:
    API Import Configurations: The options for import method, selected by default:

  4. Complete the Create API - Details form:

    1. Enter the required information or modify the information that is extracted from the specification in the subsequent Create API dialog window. 

      • General Info: Provide basic information about your API.

        • Name (Title): Enter a name for your API. The name must meet the following requirements:

          • Must be unique.

          • Must begin with alphanumeric characters A-Z, a-z, or 0-9.

          • Cannot contain the reserved keyword shared.

          • Cannot contain |, <, >, [, ], {, }, #, ?, /, and \.

          • Must be no more than 256 characters. If the name includes double-byte characters, the maximum length is shorter.

        • Description: Enter a brief description.

        • Version: Define the version. By default, the version is 1.0, when you create an API for the first time. For details about API versions, see Managing Versions of Your APIs.

        • Tags: Enter any tags associated with your API. You can create the tags as required. 

      • Endpoint Configuration: The base path for the endpoint.

        • Server Configuration: Enter the Snaplex associated with this API.

          • You must enter a name and Snaplex. You can also change the version from this dialog window, and thus create another version of the API.
          • Depending on the type of Snaplex, the following configuration requirements apply to the Snaplex that is displayed in the selector:
            • Cloudplex with a load balancer.
            • Groundplex with at least one node.
    2. Click Create.


      The API asset is displayed on the API Manager page.

You can view details about the API by clicking it. You can also set Permissions on your API.

Creating the API from Existing Project Assets

  1. In SnapLogic Manager, click API Management > API Manager
    The API Manager - /apim page is displayed.

  2.  Click  to display the Create New API dialog window.

  3. Select Create from Existing Project.

    1. Select the target Project from the drop-down list, then click Continue.

    2. In the Create New API -Select Assets dialog window, select/deselect the assets from the Project to use in the API, then click Import and Continue.

  4. Complete the creation of the API:

    1. Enter the required information or modify the information that is extracted from the specification in the subsequent Create API dialog window. 

      • General Info: Provide basic information about your API.

        • Name (Title): Enter a name for your API. The name must meet the following requirements:

          • Must be unique.

          • Must begin with alphanumeric characters A-Z, a-z, or 0-9.

          • Cannot contain the reserved keyword shared.

          • Cannot contain |, <, >, [, ], {, }, #, ?, /, and \.

          • Must be no more than 256 characters. If the name includes double-byte characters, the maximum length is shorter.

        • Description: Enter a brief description.

        • Version: Define the version. By default, the version is 1.0, when you create an API for the first time. For details about API versions, see Managing Versions of Your APIs.

        • Tags: Enter any tags associated with your API. You can create the tags as required. 

      • Endpoint Configuration: The base path for the endpoint.

        • Server Configuration: Enter the Snaplex associated with this API.

          • You must enter a name and Snaplex. You can also change the version from this dialog window, and thus create another version of the API.
          • Depending on the type of Snaplex, the following configuration requirements apply to the Snaplex that is displayed in the selector:
            • Cloudplex with a load balancer.
            • Groundplex with at least one node.
    2. Click Create.


      The API asset is displayed on the API Manager page.

You can view details about the API by clicking it. You can also set Permissions on your API.

Creating an Empty API

  1. In SnapLogic Manager, click API Management > API Manager
    The API Manager - /apim page is displayed.

  2.  Click  to display the Create New API dialog window, and select Create an Empty API Version:

  3. Click Continue to display the Create API Details dialog.

  4. Complete the creation of the API:

    1. Enter the required information or modify the information that is extracted from the specification in the subsequent Create API dialog window. 

      • General Info: Provide basic information about your API.

        • Name (Title): Enter a name for your API. The name must meet the following requirements:

          • Must be unique.

          • Must begin with alphanumeric characters A-Z, a-z, or 0-9.

          • Cannot contain the reserved keyword shared.

          • Cannot contain |, <, >, [, ], {, }, #, ?, /, and \.

          • Must be no more than 256 characters. If the name includes double-byte characters, the maximum length is shorter.

        • Description: Enter a brief description.

        • Version: Define the version. By default, the version is 1.0, when you create an API for the first time. For details about API versions, see Managing Versions of Your APIs.

        • Tags: Enter any tags associated with your API. You can create the tags as required. 

      • Endpoint Configuration: The base path for the endpoint.

        • Server Configuration: Enter the Snaplex associated with this API.

          • You must enter a name and Snaplex. You can also change the version from this dialog window, and thus create another version of the API.
          • Depending on the type of Snaplex, the following configuration requirements apply to the Snaplex that is displayed in the selector:
            • Cloudplex with a load balancer.
            • Groundplex with at least one node.
    2. Click Create.

      The API asset is displayed on the API Manager page.

You can view details about the API by clicking it. You can also set Permissions on your API.

Enabling "Try It Out" for your API

To allow API users to try out your API,

The Try it out button appears only if these two requirements are met.

To test the Try it out button for your API: Discovering APIs in the API Catalog#[inlineExtension]View-and-Try-Out-an-API

Deleting an API from the API Manager Console

To delete an API, you must delete all versions and the assets in those versions. For details, see the following topics:

See Also