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