Workspaces

List Workspaces Datasource

Changed on

Returns a Workspace within a control plane, filtered by name.

get/v2/control-planes/{controlPlaneId}/core-entities/workspaces#single-resource

Request

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

Path parameters

controlPlaneId, string uuid required

ID of a control plane

Query parameters

filter, WorkspaceFilterParameters
name, object

Filter using one of the following operators: eq, contains

Filters a collection of workspaces.

Response

A paginated list response for a collection of workspaces.

object required
data, Workspace[] required
next, string

URI to the next page (may be null)

offset, string

Offset is used to paginate through the API. Provide this value to the next list operation to fetch the next page

Example response

{
  "data": [
    {
      "managed_by": {
        "owner": "terraform"
      },
      "created_at": 1667592606,
      "updated_at": 1667592606
    }
  ]
}

Changes

    • breaking

      the data/items/managed_by/additionalProperties response property's maxLength was increased from 63 to 127 for the response status

    • info

      the data/items/managed_by/additionalProperties response's property pattern was changed from ^[a-z0-9A-Z]{1}([a-z0-9A-Z-._]*[a-z0-9A-Z]+)?$ to ^[^\s\x00-\x1F\x7F-\x9F]+$ for the status

    • info

      endpoint added