Update external file. Requires project.integrations.connect.
Arguments
inputExternalStorageUpdateInput!requiredinput.providerString!requiredStorage provider accessed through the caller's own personal connection. A human caller is required; agent, run, and service-account credentials are refused.
input.projectReferenceStringProject ID or slug. Requires project.integrations.connect through the caller's own personal provider connection.
input.fileIdString!requiredinput.contentString!requiredinput.contentEncodingExternalFileContentEncodingContent encoding; base64 when omitted. One of
utf8,base64.input.ifMatchStringRefuse the write unless the file's etag still matches.
Responses
mutation UpdateExternalFile($input: ExternalStorageUpdateInput!) { updateExternalFile(input: $input) { id provider name path mimeType sizeBytes kind parentId modifiedAt etag thumbnailUrl webUrl }}{ "data": { "updateExternalFile": { "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.updateExternalFile.