List API Packages
Changed onList API packages
Request
- Base URLhttps://global.api.konghq.com
- Auth
- HTTP bearer
- or HTTP bearer
- or HTTP bearer
- or HTTP bearer
Query parameters
The maximum number of items to include per page. The last page of a collection may include fewer items.
Determines which page of the entities to retrieve.
Filter using one of the following operators: eq, oeq, neq
Filter using one of the following operators: eq, oeq, neq, contains, ocontains
Filter using one of the following operators: eq, oeq, neq, contains, ocontains
Filters on the resource's labels field. Filters must use dot-notation to identify the label key that will be used to filter the results. For example:
- filter[labels.owner]
- filter[labels.owner][neq]=kong
- filter[labels.env]=dev
- filter[labels.env][ocontains]=dev,test
Filters on the resource's attributes field. Filters must use dot-notation to identify the attribute key that will be used to filter the results. For example:
- filter[attributes.owner]
- filter[attributes.owner][neq]=kong
- filter[attributes.env]=dev
- filter[attributes.env][ocontains]=dev,test
Filters on the given datetime (RFC-3339) field value.
Filters on the given datetime (RFC-3339) field value.
Filters API Packages in the response.
{
"created_at": {
"eq": "2022-03-30T07:20:50Z"
},
"updated_at": {
"eq": "2022-03-30T07:20:50Z"
}
}The asc suffix is optional as the default sort order is ascending. The desc suffix is used to specify a descending order. Multiple sort attributes may be provided via a comma separated list. JSONPath notation may be used to specify a sub-attribute (eg: 'foo.bar desc').
Sorts a collection of API Packages. Supported sort attributes are:
- name
- version
- created_at
- updated_at
Response
List of API Packages
returns the pagination information
Example response
{
"meta": {
"page": {
"number": 1,
"size": 10,
"total": 100
}
},
"data": [
{
"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
- warning
added the new
401.00enum value to thestatusresponse property for the response status - warning
added the new
403.00enum value to thestatusresponse property for the response status - warning
added the new
404.00enum value to thestatusresponse property for the response status
- warning