Workspaces

List all Workspaces

Changed on

List all Workspaces

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

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

size, integer

Number of resources to be returned.

offset, string

Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources

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

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

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

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

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 response optional property detail became read-only for the 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