Mesh

List Control Planes

Changed on

Returns an array of control planes objects.

get/v3/mesh/control-planes

Request

  • Base URL
    https://global.api.konghq.com
  • Auth
    • HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer

Query parameters

page[size], integer
Example:100

The maximum number of items to include per page. The last page of a collection may include fewer items.

page[number], integer
Example:1

Determines which page of the entities to retrieve.

filter, MeshControlPlaneFilterParameters
name, object

Filter using one of the following operators: eq, contains

labels, LabelsFieldFilter

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 a collection of control planes.

Response

A paginated list response for a collection of control planes.

object required
meta, PaginatedMeta

returns the pagination information

data, MeshControlPlane[]

Example response

{
  "meta": {
    "page": {
      "number": 1,
      "size": 10,
      "total": 100
    }
  },
  "data": [
    {
      "id": "d32d905a-ed33-46a3-a093-d8f536af9a8a",
      "name": "Test control plane",
      "description": "A control plane to handle traffic on development environment.",
      "labels": {
        "test": "true"
      },
      "version": "v3",
      "created_at": "2023-01-11T02:30:42.227Z",
      "updated_at": "2023-01-11T02:30:42.227Z"
    }
  ]
}

Changes