Bulk copies volumes and contents to target project and allows for authorized
curl --request POST \
--url https://mycluster.domino.tech/rpc/bulk-copy-volumes-to-project \
--header 'Content-Type: application/json' \
--data '
{
"projectId": "<string>",
"volumes": [
{
"grants": [
{
"targetId": "<string>"
}
],
"sourceVolumeId": "<string>"
}
]
}
'{
"results": [
{
"action": "copy",
"sourceVolumeId": "<string>",
"status": 123,
"data": {
"capacity": 123,
"createdAt": "<string>",
"createdBy": {
"firstName": "<string>",
"id": "<string>",
"lastName": "<string>",
"userName": "<string>"
},
"dataPlaneId": "<string>",
"filesystemId": "<string>",
"id": "<string>",
"maxSnapshots": 123,
"name": "<string>",
"numSnapshots": 123,
"path": "<string>",
"uniqueName": "<string>",
"updatedAt": "<string>",
"updatedBy": {
"firstName": "<string>",
"id": "<string>",
"lastName": "<string>",
"userName": "<string>"
},
"description": "<string>",
"filesystemName": "<string>",
"grants": [
{
"isOrganization": true,
"targetId": "<string>",
"targetName": "<string>"
}
],
"lastMountedTime": "<string>",
"projects": [
{
"addedAt": "<string>",
"addedBy": {
"firstName": "<string>",
"id": "<string>",
"lastName": "<string>",
"userName": "<string>"
},
"name": "<string>",
"projectId": "<string>",
"volumeId": "<string>"
}
],
"storageSize": 123
},
"error": "<string>"
}
]
}volumes
Bulk copies volumes and contents to target project and allows for authorized
Bulk copies volumes and contents to target project and allows for authorized user impersonation, does not copy snapshots and returns success/failure per volume
POST
/
rpc
/
bulk-copy-volumes-to-project
Bulk copies volumes and contents to target project and allows for authorized
curl --request POST \
--url https://mycluster.domino.tech/rpc/bulk-copy-volumes-to-project \
--header 'Content-Type: application/json' \
--data '
{
"projectId": "<string>",
"volumes": [
{
"grants": [
{
"targetId": "<string>"
}
],
"sourceVolumeId": "<string>"
}
]
}
'{
"results": [
{
"action": "copy",
"sourceVolumeId": "<string>",
"status": 123,
"data": {
"capacity": 123,
"createdAt": "<string>",
"createdBy": {
"firstName": "<string>",
"id": "<string>",
"lastName": "<string>",
"userName": "<string>"
},
"dataPlaneId": "<string>",
"filesystemId": "<string>",
"id": "<string>",
"maxSnapshots": 123,
"name": "<string>",
"numSnapshots": 123,
"path": "<string>",
"uniqueName": "<string>",
"updatedAt": "<string>",
"updatedBy": {
"firstName": "<string>",
"id": "<string>",
"lastName": "<string>",
"userName": "<string>"
},
"description": "<string>",
"filesystemName": "<string>",
"grants": [
{
"isOrganization": true,
"targetId": "<string>",
"targetName": "<string>"
}
],
"lastMountedTime": "<string>",
"projects": [
{
"addedAt": "<string>",
"addedBy": {
"firstName": "<string>",
"id": "<string>",
"lastName": "<string>",
"userName": "<string>"
},
"name": "<string>",
"projectId": "<string>",
"volumeId": "<string>"
}
],
"storageSize": 123
},
"error": "<string>"
}
]
}Was this page helpful?
⌘I