Get requested datavolumes.
Executed successfully.
Bad request.
Unauthorized
Forbidden
unexpected error
unexpected error
{- "next": 1,
- "datavolumes": [
- {
- "id": "71f69d83-ba66-4822-adf5-55ce55efd210",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "createdBy": "user@run.ai",
- "updatedBy": "user@run.ai",
- "name": "datavolume-a",
- "description": "Results of experiment X",
- "originPvcName": "pvc-a",
- "projectId": "5",
- "shouldDeleteOriginalVolume": false,
- "projectName": "project-a",
- "departmentId": "department-a",
- "clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210",
- "status": {
- "phase": "Ready",
- "phaseMessage": "Failed to copy pvc to project 'project-a'",
- "conditions": [
- {
- "type": "PvcsCreated",
- "status": "False",
- "message": "Failed to create pvc in namespace 'runai-proj1'",
- "reason": "ErrorCreatingPvc",
- "lastTransitionTime": "2022-01-01T03:49:52.531Z"
}
], - "datavolumePvcName": "datavolume-pvc-1",
- "datavolumePvName": "datavolume-pv-1"
}
}
]
}
The datavolume to create.
Created
Bad request.
Unauthorized
Forbidden
unexpected error
unexpected error
{- "name": "datavolume-a",
- "description": "Results of experiment X",
- "originPvcName": "pvc-a",
- "projectId": "5",
- "shouldDeleteOriginalVolume": false
}
{- "id": "71f69d83-ba66-4822-adf5-55ce55efd210",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "createdBy": "user@run.ai",
- "updatedBy": "user@run.ai",
- "name": "datavolume-a",
- "description": "Results of experiment X",
- "originPvcName": "pvc-a",
- "projectId": "5",
- "shouldDeleteOriginalVolume": false,
- "projectName": "project-a",
- "departmentId": "department-a",
- "clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210",
- "sharedScopes": [
- {
- "scopeType": "cluster",
- "scopeId": "a418ed33-9399-48c0-a890-122cadd13bfd",
- "scopeName": "project-a",
- "createdAt": "2019-08-24T14:15:22Z",
- "createdBy": "user@run.ai"
}
], - "status": {
- "phase": "Ready",
- "phaseMessage": "Failed to copy pvc to project 'project-a'",
- "conditions": [
- {
- "type": "PvcsCreated",
- "status": "False",
- "message": "Failed to create pvc in namespace 'runai-proj1'",
- "reason": "ErrorCreatingPvc",
- "lastTransitionTime": "2022-01-01T03:49:52.531Z"
}
], - "datavolumePvcName": "datavolume-pvc-1",
- "datavolumePvName": "datavolume-pv-1"
}
}
Executed successfully.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "id": "71f69d83-ba66-4822-adf5-55ce55efd210",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "createdBy": "user@run.ai",
- "updatedBy": "user@run.ai",
- "name": "datavolume-a",
- "description": "Results of experiment X",
- "originPvcName": "pvc-a",
- "projectId": "5",
- "shouldDeleteOriginalVolume": false,
- "projectName": "project-a",
- "departmentId": "department-a",
- "clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210",
- "sharedScopes": [
- {
- "scopeType": "cluster",
- "scopeId": "a418ed33-9399-48c0-a890-122cadd13bfd",
- "scopeName": "project-a",
- "createdAt": "2019-08-24T14:15:22Z",
- "createdBy": "user@run.ai"
}
], - "status": {
- "phase": "Ready",
- "phaseMessage": "Failed to copy pvc to project 'project-a'",
- "conditions": [
- {
- "type": "PvcsCreated",
- "status": "False",
- "message": "Failed to create pvc in namespace 'runai-proj1'",
- "reason": "ErrorCreatingPvc",
- "lastTransitionTime": "2022-01-01T03:49:52.531Z"
}
], - "datavolumePvcName": "datavolume-pvc-1",
- "datavolumePvName": "datavolume-pv-1"
}
}
Accepted.
No Content.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "code": 202,
- "message": "Request has been accepted."
}
Executed successfully.
Bad request.
Unauthorized
Forbidden
The specified resource was not found
unexpected error
unexpected error
{- "description": "Results of experiment X"
}
{- "id": "71f69d83-ba66-4822-adf5-55ce55efd210",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "createdBy": "user@run.ai",
- "updatedBy": "user@run.ai",
- "name": "datavolume-a",
- "description": "Results of experiment X",
- "originPvcName": "pvc-a",
- "projectId": "5",
- "shouldDeleteOriginalVolume": false,
- "projectName": "project-a",
- "departmentId": "department-a",
- "clusterId": "71f69d83-ba66-4822-adf5-55ce55efd210",
- "status": {
- "phase": "Ready",
- "phaseMessage": "Failed to copy pvc to project 'project-a'",
- "conditions": [
- {
- "type": "PvcsCreated",
- "status": "False",
- "message": "Failed to create pvc in namespace 'runai-proj1'",
- "reason": "ErrorCreatingPvc",
- "lastTransitionTime": "2022-01-01T03:49:52.531Z"
}
], - "datavolumePvcName": "datavolume-pvc-1",
- "datavolumePvName": "datavolume-pv-1"
}
}