Product-related operations
Use the Publish product
operation to publish a draft product to an API
Connect instance. This operation enables the availability of product through the specified catalog
and gateway services.
Publish product
Note: User confirmation is required before publishing.
Parameter | Type | Required | Description |
---|---|---|---|
product_name |
string | Required | The name of the draft product to publish. |
gateway_names |
string | Optional | A comma-separated list of gateway service names where the product is published. If not specified, the product is published to all relevant gateway services that are configured in the target catalog. |
catalog |
string | Optional | The name of the catalog where the product is published. If not specified,
|
You can use the following prompts to publish a product.
Action | Prompts | Commands |
---|---|---|
Publish product |
|
|
Download draft product
You can download draft product from the API Connect instance.
Parameter | Type | Required | Description |
---|---|---|---|
product_name |
string | Yes | The name of a draft product. |
file_format |
string | Optional | The format in which the file will be downloaded either in the YAML or JSON format. If not
specified, YAML is used by default. |
You can use following prompts to download draft products:
Action | Prompts | Commands |
---|---|---|
Download draft product |
|
|