API Packages
Create API Package
Changed onCreates a package of APIs. An API package is a collection of APIs that can be used to group related APIs together.
post/v3/api-packages
Request
- Base URL: https://global.api.konghq.com
- URL: https://global.api.konghq.com/v3/api-packages
- Auth: one of:
- HTTP bearer
- HTTP bearer
- HTTP bearer
- HTTP bearer
Request body
Example request
{
"id": "9f5061ce-78f6-4452-9108-ad7c02821fd5",
"name": "MyAPIPackage",
"slug": "my-api-package-v1",
"labels": {
"env": "test"
},
"attributes": {
"env": [
"production"
],
"domains": [
"web",
"mobile"
]
},
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z"
}Response
API Package
Example response
{
"id": "9f5061ce-78f6-4452-9108-ad7c02821fd5",
"name": "MyAPIPackage",
"slug": "my-api-package-v1",
"labels": {
"env": "test"
},
"attributes": {
"env": [
"production"
],
"domains": [
"web",
"mobile"
]
},
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z"
}Changes
- breaking
added to the
/response propertyoneOflist for the response status - warning
added the new
key_invalidenum value to the//////response property for the response status - warning
added the new
uniqueenum value to the//////response property for the response status
- breaking
- 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
added the new
404.00enum value to theresponse property for the response status
- warning