createExternalFolder

Create external folder. Requires project.integrations.connect.

Arguments

  • inputExternalStorageFolderInput!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.folderIdString

    Parent folder item ID or root.

  • input.parentIdString

  • input.nameString!required

  • input.idempotencyKeyString

    1-128 characters without whitespace. A retry with the same key and input within 24 hours returns the first folder.

Responses

mutation CreateExternalFolder($input: ExternalStorageFolderInput!) {  createExternalFolder(input: $input) {    id    provider    name    path    mimeType    sizeBytes    kind    parentId    modifiedAt    etag    thumbnailUrl    webUrl  }}
{  "data": {    "createExternalFolder": {      "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.createExternalFolder.