Protocol method · collab
collab.submit
Submit a replica's optimistic edits: merged field-level onto everything since base; the same field is last-writer-wins and the loser is logged.
- Scope:
edit:scene - Service:
collab
Params
| Param | Required | Description |
|---|---|---|
session | yes | Session handle from session.begin. |
seq | yes | The replica's sequence number (per session, from 1). |
base | yes | The revision the replica had applied when it made the change. |
edits | yes | Edits ({op: set|create|delete|move, doc, id, …}), applied as one transaction. |
why | Why, if given. | |
label | Short label (transform.set). |