Get CRDT Data
CRDT
Get CRDT Data
POST
Get CRDT Data
Use this API to retrieve CRDT editor data from the backend. Use it with the Multiplayer Editing (Yjs) feature.
Endpoint
POST https://api.velt.dev/v2/crdt/get
Headers
Your API key.
Your Auth Token.
Body Parameters
Example Request
Response
Success Response
The response contains an array of CRDT data objects. Each object includes the editor data and metadata.Response Fields
| Field | Type | Description |
|---|---|---|
data | text | map | array | xml | The CRDT editor data. Type depends on the store type configured in the frontend. |
id | string | Store identifier (editorId) |
lastUpdate | string | ISO timestamp of last update |
lastUpdatedBy | string | User ID who made the last update |
sessionId | string | null | Session ID or null |

