Konnect Runtime Groups (2.0.0)

Download OpenAPI specification:Download

The API for Kong Konnect Runtime Groups.

Runtime Groups

List Runtime Groups

Returns an array of runtime groups objects containing information about the Konnect Runtime Groups.

Authorizations:
personalAccessTokensystemAccountAccessToken
query Parameters
page[size]
integer
Example: page[size]=10

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

page[number]
integer
Example: page[number]=1

Determines which page of the entities to retrieve.

filter[name][eq]
string
Example: filter[name][eq]=test

Filter by direct equality comparison of the name property with a supplied value.

filter[name]
string
Example: filter[name]=test

Filter by direct equality comparison (short-hand) of the name property with a supplied value.

filter[name][contains]
string
Example: filter[name][contains]=test

Filter by contains comparison of the name property with a supplied substring.

filter[name][neq]
string
Example: filter[name][neq]=test

Filter by non-equality comparison of the name property with a supplied value.

filter[id][eq]
string
Example: filter[id][eq]=7f9fd312-a987-4628-b4c5-bb4f4fddd5f7

Filter by direct equality comparison of the id property with a supplied value.

filter[id]
string
Example: filter[id]=7f9fd312-a987-4628-b4c5-bb4f4fddd5f7

Filter by direct equality comparison (short-hand) of the id property with a supplied value.

filter[id][oeq]
string
Example: filter[id][oeq]=some-value,some-other-value

Filter by direct equality comparison of id property with multiple supplied values.

filter[cluster_type][eq]
string
Example: filter[cluster_type][eq]=CLUSTER_TYPE_HYBRID

Filter by direct equality comparison of the cluster_type property with a supplied value.

filter[cluster_type]
string
Example: filter[cluster_type]=CLUSTER_TYPE_HYBRID

Filter by direct equality comparison (short-hand) of the cluster_type property with a supplied value.

filter[cluster_type][neq]
string
Example: filter[cluster_type][neq]=test

Filter by non-equality comparison of the cluster_type property with a supplied value.

labels
string
Example: labels=key:value,existCheck

Filter runtime groups in the response by associated labels.

sort
string (SortQuery)
Example: sort=name,created_at desc

Sorts a collection of runtime-groups. Supported sort attributes are:

  • created_at

Responses

Response samples

Content type
application/json
No sample

Create Runtime Group

Create a runtime group in the Konnect Organization.

Authorizations:
personalAccessTokensystemAccountAccessToken
Request Body schema: application/json
name
required
string

The name of the runtime group.

description
string

The description of the runtime group in Konnect.

cluster_type
string
Enum: "CLUSTER_TYPE_HYBRID" "CLUSTER_TYPE_K8S_INGRESS_CONTROLLER" "CLUSTER_TYPE_COMPOSITE" "CLUSTER_TYPE_SERVERLESS"

The ClusterType value of the cluster associated with the Runtime Group.

auth_type
string
Enum: "pinned_client_certs" "pki_client_certs"

The auth type value of the cluster associated with the Runtime Group.

cloud_gateway
boolean

Whether this runtime group can be used for cloud-gateways.

Array of objects (ProxyURLs)

Array of proxy URLs associated with reaching the data-planes connected to a runtime group.

object (Labels)

Labels to facilitate tagged search on runtime groups. Keys must be of length 1-63 characters, and cannot start with 'kong', 'konnect', 'mesh', 'kic', or '_'.

Responses

Request samples

Content type
application/json
{
  • "name": "Test Runtime Group",
  • "description": "A test runtime group for exploration.",
  • "cluster_type": "CLUSTER_TYPE_K8S_INGRESS_CONTROLLER",
  • "cloud_gateway": false,
  • "proxy_urls": [
    ],
  • "labels": {
    }
}

Response samples

Content type
application/json
{
  • "id": "7f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
  • "name": "Test Runtime Group",
  • "description": "A test runtime group for exploration.",
  • "labels": {
    },
  • "config": {}
}

Fetch Runtime Group

Returns information about a team from a given team ID.

Authorizations:
personalAccessTokensystemAccountAccessToken
path Parameters
id
required
string <uuid>
Example: d32d905a-ed33-46a3-a093-d8f536af9a8a

The runtime group ID

Responses

Response samples

Content type
application/json
{
  • "id": "7f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
  • "name": "Test Runtime Group",
  • "description": "A test runtime group for exploration.",
  • "labels": {
    },
  • "config": {}
}

Update Runtime Group

Update an individual runtime group.

Authorizations:
personalAccessTokensystemAccountAccessToken
path Parameters
id
required
string <uuid>
Example: d32d905a-ed33-46a3-a093-d8f536af9a8a

The runtime group ID

Request Body schema: application/json
name
string

The name of the runtime group.

description
string

The description of the runtime group in Konnect.

auth_type
string
Enum: "pinned_client_certs" "pki_client_certs"

The auth type value of the cluster associated with the Runtime Group.

Array of objects (ProxyURLs)

Array of proxy URLs associated with reaching the data-planes connected to a runtime group.

object (Labels)

Labels to facilitate tagged search on runtime groups. Keys must be of length 1-63 characters, and cannot start with 'kong', 'konnect', 'mesh', 'kic', or '_'.

Responses

Request samples

Content type
application/json
{
  • "name": "Test Runtime Group",
  • "description": "A test runtime group for exploration.",
  • "labels": {
    }
}

Response samples

Content type
application/json
{
  • "id": "7f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
  • "name": "Test Runtime Group",
  • "description": "A test runtime group for exploration.",
  • "labels": {
    },
  • "config": {}
}

Delete Runtime Group

Delete an individual runtime group.

Authorizations:
personalAccessTokensystemAccountAccessToken
path Parameters
id
required
string <uuid>
Example: d32d905a-ed33-46a3-a093-d8f536af9a8a

The runtime group ID

Responses

Response samples

Content type
application/problem+json
Example
{
  • "status": 400,
  • "title": "Bad Request",
  • "instance": "konnect:trace:3674017986744198214",
  • "invalid_parameters": [
    ]
}

Composite Runtime Groups

List Composite RG Memberships

Returns an array of runtime groups that are a member of this composite runtime group.

Authorizations:
personalAccessTokensystemAccountAccessToken
path Parameters
id
required
string

ID of a composite runtime group

query Parameters
page[size]
integer
Example: page[size]=10

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

page[number]
integer
Example: page[number]=1

Determines which page of the entities to retrieve.

Responses

Response samples

Content type
application/json
{
  • "meta": {
    },
  • "data": [
    ]
}

Upsert Composite RG Members

Upserts runtime groups as a member of a composite runtime group.

Authorizations:
personalAccessTokensystemAccountAccessToken
path Parameters
id
required
string

ID of a composite runtime group

Request Body schema: application/json

Request body for upserting a list of child runtime groups to a composite runtime group membership.

Array of objects

Responses

Request samples

Content type
application/json
{
  • "members": [
    ]
}

Response samples

Content type
application/problem+json
{
  • "status": 0,
  • "title": "string",
  • "type": "string",
  • "instance": "string",
  • "detail": "string",
  • "invalid_parameters": [
    ]
}

Add Composite RG Members

Adds one or more runtime groups as a member of a composite runtime group.

Authorizations:
personalAccessTokensystemAccountAccessToken
path Parameters
id
required
string

ID of a composite runtime group

Request Body schema: application/json

Request body for adding a list of child runtime groups to a composite runtime group membership.

Array of objects

Responses

Request samples

Content type
application/json
{
  • "members": [
    ]
}

Response samples

Content type
application/problem+json
{
  • "status": 0,
  • "title": "string",
  • "type": "string",
  • "instance": "string",
  • "detail": "string",
  • "invalid_parameters": [
    ]
}

Remove Composite RG Members

Removes one or more runtime groups from the members of a composite runtime group.

Authorizations:
personalAccessTokensystemAccountAccessToken
path Parameters
id
required
string

ID of a composite runtime group

Request Body schema: application/json

Request body for removing a list of child runtime groups from a composite runtime group membership.

Array of objects

Responses

Request samples

Content type
application/json
{
  • "members": [
    ]
}

Response samples

Content type
application/problem+json
{
  • "status": 0,
  • "title": "string",
  • "type": "string",
  • "instance": "string",
  • "detail": "string",
  • "invalid_parameters": [
    ]
}

Composite Membership Status

Determines the composite membership status of a runtime group.

Authorizations:
personalAccessTokensystemAccountAccessToken
path Parameters
id
required
string

ID of a runtime group

Responses

Response samples

Content type
application/json
{
  • "is_member": true
}

Get Composite RG Status

Returns the status of a composite runtime group, including existing conflicts.

Authorizations:
personalAccessTokensystemAccountAccessToken
path Parameters
id
required
string

ID of a composite runtime group

Responses

Response samples

Content type
application/json
Example
{
  • "id": "7f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
  • "conflicts": [
    ],
  • "state": "COMPOSITE_STATE_CONFLICT",
  • "created_at": "2022-11-04T20:10:06.927Z",
  • "updated_at": "2022-11-04T20:10:06.927Z"
}