createExternalFile(projectReference: String!, provider: ExternalFileProvider!, input: CreateExternalFileInput!): ExternalStorageFile!
Requires project.integrations.connect.
Arguments
Input fields
input
Response
Returns ExternalStorageFile!. Open the type for its fields and nested types.
All fields of ExternalStorageFile.
Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.
Example
mutation CreateExternalFile($projectReference: String!, $provider: ExternalFileProvider!, $input: CreateExternalFileInput!) {
createExternalFile(projectReference: $projectReference, provider: $provider, input: $input) {
id
name
etag
kind
mimeType
}
}{
"projectReference": "example-project",
"provider": "drive",
"input": {
"folderId": "root",
"name": "notes.txt",
"content": "hello",
"contentEncoding": "utf8"
}
}