Grist Octri Preview
POST/docs/{docId}/proposals/{proposalId}/apply

Apply a change proposal

Apply a proposal's changes to the document. This merges the fork's changes into the trunk document.

  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

2 parameters
docIdstringrequired
A string id (UUID)
proposalIdintegerrequired
ID of the proposal to apply

1 status code
200Proposal applied successfully
changesobjectoptional
Summary of changes applied
proposalIdintegeroptional