Retrieves a list of workspace
GET/v1/dashboard/workspaces
Retrieves a list of workspace
Request
Header Parameters
Scope the request to the specified project uid
Responses
- 200
An array of workspace
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
Array [
]
Array [
]
]
items
undefined[]
required
meta
Deprecated. Workspace meta data
Deprecated. Use clusterRefs
clusterRefs
undefined[]
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
metadata
object
ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
annotations
object
Annotations are system generated key value metadata for the resource. As an input certain annotations like description can be set.
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
labels
object
Labels are key value data to organize and categorize resources. Providing spectro__tag as value for a label is considered as a kubernetes compliant tag
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
Name of the resource.
UID is the unique identifier generated for the resource. This is not an input field for any request.
spec
Workspace spec summary
clusterRefs
undefined[]
quota
Workspace resource quota
resourceAllocation
Workspace quota resource allocation
status
Workspace status
namespaces
undefined[]
total
Workspace allocation
cpu
Workspace resource allocation
memory
Workspace resource allocation
total
Workspace allocation
cpu
Workspace resource allocation
memory
Workspace resource allocation
{
"cpuUnit": "string",
"items": [
{
"meta": {
"clusterNames": [
"string"
],
"clusterRefs": [
{
"name": "string",
"uid": "string"
}
],
"creationTime": "2024-04-16T17:49:00.997Z",
"name": "string",
"namespaces": [
"string"
],
"uid": "string"
},
"metadata": {
"annotations": {},
"creationTimestamp": "2024-04-16T17:49:00.997Z",
"deletionTimestamp": "2024-04-16T17:49:00.997Z",
"labels": {},
"lastModifiedTimestamp": "2024-04-16T17:49:00.997Z",
"name": "string",
"uid": "string"
},
"spec": {
"clusterRefs": [
{
"name": "string",
"uid": "string"
}
],
"namespaces": [
"string"
],
"quota": {
"resourceAllocation": {
"cpu": 0,
"memory": 0
}
}
},
"status": {
"namespaces": [
{
"name": "string",
"total": {
"cpu": {
"allocated": 0,
"usage": 0
},
"memory": {
"allocated": 0,
"usage": 0
}
}
}
],
"total": {
"cpu": {
"allocated": 0,
"usage": 0
},
"memory": {
"allocated": 0,
"usage": 0
}
}
}
}
],
"memoryUnit": "string"
}