List notification channels
Changed onReturns a page of the organization's notification channels, sorted by name unless the request sets sort. Filters on name, type, labels.<key>, and managed_by.<key> narrow the list.
Request
- Base URLhttps://global.api.konghq.com
- Auth
- HTTP bearer
- or HTTP bearer
- or HTTP bearer
- or HTTP bearer
Query parameters
Filters on the channels' fields. Every filter must match, and a bare value means eq.
- name: eq, neq, oeq, contains, and ocontains.
- type: eq, neq, and oeq.
- labels.<key>: the value of the label <key>, with the operators of name plus exists and nexists. A bare key with no value matches channels that have the label.
- managed_by.<key>: the value of the managed_by key <key>, such as filter[managed_by.tool]=terraform-provider-konnect, with the operators of labels.<key>. A bare key with no value matches channels that have the key.
Any other filter key fails with 400. eq, neq, and oeq compare strings case-sensitively, and contains and ocontains ignore case.
Filter using one of the following operators: eq, oeq, neq, contains, ocontains
Filters a field by its value with eq, neq, or oeq. Accepts email and slack. A bare value means eq.
Narrows the list. Each filter has the form filter[field][operator]=value, or filter[field]=value for eq. An operator that takes no value, such as exists, leaves out =value.
A request can combine several filters, and every filter must match.
The order of the results, as a comma-separated list of fields in priority order. Each field can be followed by a space and asc or desc, and sorts in ascending order without one. The service breaks ties so that the order is unique.
Sortable fields: name, type, created_at, updated_at. Defaults to name asc.
The number of results on each page.
1 to 100. Defaults to 20.
A cursor for the page after an earlier response's page. Clients take it from that response's meta.page.next link, which also carries the request's other parameters, and don't build or change it.
A request can't send both page[after] and page[before].
A cursor for the page before an earlier response's page. Clients take it from that response's meta.page.previous link, which also carries the request's other parameters, and don't build or change it.
A request can't send both page[after] and page[before].
Response
A page of notification channels.
The notification channels on this page, in sort order.
Pagination metadata.
Example response
{
"data": [
{
"id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
"labels": {
"env": "test"
},
"managed_by": {
"owner": "terraform"
},
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z"
}
],
"meta": {
"page": {
"size": 10
}
}
}Changes
- info
endpoint added
- info