affine_apply_doc_updates
Apply CRDT updates to documents in AFFiNE workspaces, enabling advanced synchronization and modification of collaborative content via specified operations and updates.
Instructions
Apply CRDT updates to a doc (advanced).
Input Schema
Name | Required | Description | Default |
---|---|---|---|
docId | Yes | ||
op | Yes | ||
updates | Yes | ||
workspaceId | No |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"docId": {
"type": "string"
},
"op": {
"type": "string"
},
"updates": {
"type": "string"
},
"workspaceId": {
"type": "string"
}
},
"required": [
"docId",
"op",
"updates"
],
"type": "object"
}