Retrieves specified workspace clusters workload jobs
POST/v1/dashboard/workspaces/:uid/spectroclusters/workloads/job
Retrieves specified workspace clusters workload jobs
Request
Path Parameters
Header Parameters
Scope the request to the specified project uid
- application/json
Body
filter object
Workspace workloads filter
Responses
- 200
An array of clusters workload jobs
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- Array [
- ]
- ]
- ]
clusters object[]
jobs object[]
metadata object
Cluster workload metadata
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.
entity object
Cluster workload ref
labels object
status object
Cluster workload job status
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.
conditions object[]
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.
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
Object for which the resource is related
Possible values: [spectrocluster
, machine
, cloudconfig
, clusterprofile
, pack
, appprofile
, appdeployment
, edgehost
]
metadata object
ObjectMeta input entity for object creation
annotations object
Annotations are system generated key value metadata for the resource. As an input certain annotations like description can be set
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
Name of the resource
{
"clusters": [
{
"jobs": [
{
"metadata": {
"creationTimestamp": "2023-12-01T21:31:48.595Z",
"entity": {
"kind": "string",
"name": "string",
"uid": "string"
},
"labels": {},
"namespace": "string"
},
"status": {
"completionTime": "2023-12-01T21:31:48.596Z",
"conditions": [
{
"lastTransitionTime": "2023-12-01T21:31:48.596Z",
"lastUpdateTime": "2023-12-01T21:31:48.596Z",
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"startTime": "2023-12-01T21:31:48.596Z",
"succeeded": 0
}
}
],
"metadata": {
"kind": "spectrocluster",
"name": "string",
"uid": "string"
}
}
],
"metadata": {
"annotations": {},
"labels": {},
"name": "string"
}
}