commitDraftContent(input: CommitDraftContentInput!): CommitDraftContentPayload!
Requires project.files.write.
Arguments
Input fields
input
Response
Returns CommitDraftContentPayload!. Open the type for its fields and nested types.
Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.
Example
mutation CommitDraftContent($input: CommitDraftContentInput!) {
commitDraftContent(input: $input) {
updatedAt
bodyLength
entityId
entityType
success
}
}{
"input": {
"projectReference": "00000000-0000-4000-8000-000000000001",
"entityId": "00000000-0000-4000-8000-000000000001",
"entityType": "page"
}
}