createFile(input: CreateFileInput!): CreateFilePayload!
Requires project.files.write.
Arguments
Input fields
input
Response
Returns CreateFilePayload!. Open the type for its fields and nested types.
All fields of CreateFilePayload.
Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.
Example
mutation CreateFile($input: CreateFileInput!) {
createFile(input: $input) {
id
updatedAt
checksum
content
error
}
}{
"input": {
"filePath": "example",
"content": "example"
}
}