Contact Free trial Login

Creating an API instance on API Manager

In API Manager 2.x, you can use instances of an API in multiple environments, and you can have multiple instances in the same environment. You can create one instance of an API that serves as a proxy. You can create another to manage directly as a basic endpoint. You can apply caching policies, for example to the proxy, and throttling policies and security policies to the basic endpoint.

After setting up an API version for management, you repeat the process to create another instance. Attempting to set up the same version creates another instance of the version. You can create multiple instances and expand the version information to view details about them:

  1. Set up an API to manage from Exchange.

    For example, set up version 1.0 of an API named jsonplaceholder.

    manage exchange end task
  2. Repeat the process to set up an instance:

    • In API Name, select the same API from Exchange, for example jsonplaceholder.

    • In API Version, select the same version of the API, for example 1.0.

    • In Asset Version, select the Exchange asset version.

    • In Managing Type, choose Basic Endpoint or Endpoint with Proxy. For example, select Endpoint With Proxy.

    • In Implementation URI, enter the URL that hosts your web site or an arbitrary URL, such as the example shown An entry, any entry, is required if you chose Endpoint with Proxy. You cannot accept the default example; otherwise, saving this configuration is disabled.

    • Select a proxy deployment target, for example CloudHub.

    • Accept the default Path / for the proxy endpoint or enter another path.

  3. Save, or optionally set advanced options, and then save.

  4. In Advanced Options, optionally assign an instance label for the proxy, or accept the default label, and set a response timeout.

  5. Return to the API administration dashboard: Click API Administration. In the Version column, the instance indicator appears beside the version name.

  6. Expand the version.

    The instance information appears.