Returns the workspace restore result
GET/v1/workspaces/:uid/restore
Returns the workspace restore result
Request
Path Parameters
Query Parameters
Header Parameters
Scope the request to the specified project uid
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
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 restore spec
status
Workspace restore status
workspaceRestoreStatuses
undefined[]
actor
Compliance Scan actor
workspaceRestoreConfig
Workspace cluster restore config
clusterRestoreRefs
undefined[]
restoreStatusMeta
Workspace cluster restore state
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.
restoreState
Workspace restore state
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": {
"annotations": {},
"creationTimestamp": "2024-04-16T17:49:03.076Z",
"deletionTimestamp": "2024-04-16T17:49:03.076Z",
"labels": {},
"lastModifiedTimestamp": "2024-04-16T17:49:03.076Z",
"name": "string",
"uid": "string"
},
"spec": {
"workspaceUid": "string"
},
"status": {
"workspaceRestoreStatuses": [
{
"actor": {
"actorType": "string",
"uid": "string"
},
"requestUid": "string",
"workspaceRestoreConfig": {
"backupName": "string",
"clusterRestoreRefs": [
{
"backupName": "string",
"clusterName": "string",
"clusterUid": "string",
"restoreStatusMeta": {
"msg": "string",
"restoreTime": "2024-04-16T17:49:03.076Z",
"state": "string"
},
"restoreUid": "string"
}
],
"restoreState": {
"deleteState": "string",
"state": "string"
},
"restoreTime": "2024-04-16T17:49:03.076Z"
}
}
]
}
}