API consumer users consume managed APIs exposed by the API Gateway, using them to build and test client applications. API consumers can be client application developers from named organizations or the community organization. They can also include operator users who are responsible for monitoring production applications that invoke managed APIs. API Manager provides an intuitive user interface to enable API consumers to consume the managed APIs exposed by the API Gateway.
Note | This topic assumes that API Manager has already been enabled and configured for your environment. For more details, see Configure API Manager. |
Each API consumer user has an account in API Manager. They can use API Manager to perform tasks such as the following:
API consumers are concerned only with applications, credentials, and APIs. They do not require detailed knowledge of the API Gateway
The API consumer can use to following URL to register an API Manager user account:
https://HOSTNAME:8075 |
This displays the following registration dialog:
When the user account has been registered, an email is sent to the user to enable them to activate their account. They can then log into API Manager using their registered user name and password.
For details on optional registration codes for organizations, see Administer APIs in API Manager.
When an API consumer user logs in to API Manager, this displays a specific view for the API consumer. This includes the following tabs:
You can use the API Catalog view to browse and retrieve APIs in API Manager. For example:
When tags have been added in API Manager, you can use them to browse and retrieve APIs. For example, you can click the Tags button in the API Manager toolbar to select tags to filter:
In this example, selecting the Wordnik
tag would display the Petstore API only. You can also filter tags manually by entering the tag:
prefix followed by the tag value in the filter box (for example, tag:Wordnik
). You can filter multiple tags by entering a comma-separated list without any spaces between values. For example, in this case, entering a filter of tag:REST,Eng
would displays the Sentinel and Petstore APIs only, and not the Test API, which is tagged as QA.
You can use the Applications tab to manage client applications (for example, create, update, or remove client applications that invoke specific APIs). When an application is created, API administrators can also set authentication, quota, and sharing settings on the appropriate tab.
The following example shows editing a client application:
Note | The API administrator must first specify the APIs that an organization is allowed to access before any of its client applications can have access to them. In API Manager, you can only add APIs to an application when they have been added to the organization. For more details, see Administer APIs in API Manager. |
To create an application, perform the following steps:
.gif
, or .jpeg
file). When applications have been created, you can click an application name in the Managing applications screen to edit its existing settings on the Application tab. API administrators can also configure additional settings on the following tabs:
The following settings are available on the Authentication tab:
https://my_test_url.example.com
) for Cross Origins Resource Sharing (CORS). You can enter *
to allow all domains. For more details, see Virtualize REST APIs in API Manager.For more details on OAuth, see the API Gateway OAuth User Guide.
The Quota tab enables API administrators to override the application-default quota and specify application-specific quota rules. For more details, see Administer APIs in API Manager.
The Sharing tab enables API administrators to manage access to the application for specified users. Click Add User, select an existing user name from the list, and select whether the user can View or Manage the application. The default is View.
You can add multiple existing users. For details on creating users, see Administer APIs in API Manager. To remove user access to the application, select the user name, and click Remove.