CreateExternalFileInput

A new external file. Creating never replaces an existing file.

FieldTypeRequiredDescription
folderIdString!YesParent folder item ID or root.
nameString!YesCreates a new file without replacing an existing one. OneDrive and SharePoint return conflict for an existing name; Google Drive creates a new item with the same name. File name, 1-255 characters without a slash.
contentString!YesFile content, at most 10,000,000 characters as sent.
contentEncodingExternalFileContentEncodingNoutf8 (default) or base64.
mimeTypeStringNoMIME type; derived from the name when omitted.
idempotencyKeyStringNo1-128 characters without whitespace. A retry with the same key and input within 24 hours returns the first file instead of creating another.

All GraphQL types · Operations