Workspaces
List Workspaces Datasource
Changed onReturns a Workspace within a control plane, filtered by name.
get/v2/control-planes/{controlPlaneId}/core-entities/workspaces#single-resource
Request
- Base URLhttps://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, Workspace Filter Parameters
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/additionalPropertiesresponse property's maxLength was increased from63to127for the response status - info
the
data/items/managed_by/additionalPropertiesresponse'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
- breaking
- info
endpoint added
- info