Skip to main content
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>"
    }
  ]
}

Body

application/json

Volume IDs to copy and target Project ID

projectId
string
required
volumes
object[]
required

Response

OK

results
object[]
required