Configuring a DataPower API Gateway proxy collector for API discovery
How to add a DataPower® API Gateway proxy data source collector to your API discovery capability.
Before you begin
Before an API discovery DataPower API Gateway proxy collector can collect data from a provider organization, you must first enable sharing of your provider organization analytics data; see Sharing analytics data for API discovery.
- Organization Administrator
- Owner
- Custom role with the
Settings: Manage
permission.
About this task
API discovery is an add-on to IBM® API Connect that can be used to discover and add APIs to your API development process. Before you can discover any APIs, you must configure one or more data source collectors. These collectors then get automatically added to the Sources tab in the API Manager UI when the collector sends the first OpenAPI documents to your provider organization.
To configure an API
discovery DataPower API Gateway proxy collector,
you can either create a proxy API definition, or update an existing proxy API, in your provider
organization in API Connect. This new or
existing proxy API will contain the endpoint of an existing REST service that you want to use to
discover OpenAPI documents from. The discovered OpenAPI documents can then be copied to draft APIs
as required, to enable full lifecycle management in API
Manager. If you're updating an
existing proxy API definition, the minimum fields that are required for collection to occur, are the
inclusion of the invoke
policy log
segment, and both of the
set-variable
segments, that are shown in the example YAML in
Step 1.
Procedure
Results
target_url
of the proxy. Every time an API definition is
discovered and processed, the Last run field of the data source is changed to
reflect the activity.What to do next
You can click the APIs tab in the Discover section of the API Manager UI, and review the API traffic in your data source collector. For more information, see Reviewing your discovered APIs.