Create API Product
Changed onAn API Product packages together associated APIs and their operations, backed by thorough documentation, with the objective of making API consumption straightforward for developers.
Request
- Base URL: https://global.api.konghq.com
- URL: https://global.api.konghq.com/v2/api-products
- Auth: one of:
- HTTP bearer
- HTTP bearer
- HTTP bearer
- HTTP bearer
Request body
Example request
{
"name": "API Product",
"description": "Text describing the API product",
"labels": {
"env": "test"
},
"public_labels": {
"category": "finance"
},
"portal_ids": [
"25a2624c-49fc-4764-99e1-224ed819f200"
]
}Response
API product
Example response
{
"id": "b9e81174-b5bb-4638-a3c3-8afe61a0abf8",
"name": "My Name",
"description": "MyDescription",
"portal_ids": [
"25a2624c-49fc-4764-99e1-224ed819f200"
],
"portals": [
{
"portal_id": "35a2624c-49fc-4764-99e1-224ed819f200",
"portal_name": "Developer Portal"
}
],
"version_count": 10,
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z",
"labels": {
"env": "test"
},
"public_labels": {
"category": "finance"
}
}Changes
- warning
added the new
400.00enum value to theresponse property for the response status - warning
added the new
401.00enum value to theresponse property for the response status - warning
added the new
403.00enum value to theresponse property for the response status
- warning
- breaking
the response's body type changed from no type to
objectfor status - breaking
the response's body type changed from no type to
objectfor status - breaking
the response's body type changed from no type to
objectfor status - breaking
the response's body type changed from no type to
objectfor status - info
removed
subschema #2from the response bodyallOflist for the response status - info
removed
subschema #2from the response bodyallOflist for the response status - info
removed
subschema #2from the response bodyallOflist for the response status - info
removed
subschema #2from the response bodyallOflist for the response status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking