moveExternalFile

Move external file. Requires project.integrations.connect.

Arguments

  • inputExternalStorageMoveInput!required

  • input.providerString!required

    Storage provider accessed through the caller's own personal connection. A human caller is required; agent, run, and service-account credentials are refused.

  • input.projectReferenceString

    Project ID or slug. Requires project.integrations.connect through the caller's own personal provider connection.

  • input.fileIdString!required

  • input.folderIdString

    Destination folder. Provider name conflicts return conflict; Google Drive allows duplicate names. SharePoint moves remain within the same site. Use a folder item ID or root. Required unless newParentId is supplied.

  • input.nameString

    New name, 1-255 characters without / or control characters.

  • input.newParentIdString

  • input.newNameString

    Legacy new name. Empty keeps the current name; control characters are not allowed.

Responses

mutation MoveExternalFile($input: ExternalStorageMoveInput!) {  moveExternalFile(input: $input) {    id    provider    name    path    mimeType    sizeBytes    kind    parentId    modifiedAt    etag    thumbnailUrl    webUrl  }}
{  "data": {    "moveExternalFile": {      "id": "string",      "provider": "string",      "name": "string",      "path": "string",      "mimeType": "string",      "sizeBytes": 0,      "kind": "string",      "parentId": "string",      "modifiedAt": "string",      "etag": "string",      "thumbnailUrl": "https://example.com",      "webUrl": "https://example.com"    }  }}

The ExternalStorageFile! in data.moveExternalFile.