Version History
Get Yjs document version
Changed onThis endpoint returns a specific version of the room's Yjs document encoded as a binary Yjs update. Corresponds to liveblocks.getYjsVersion.
get/rooms/{roomId}/versions/{versionId}/yjs
Request
- Base URL: https://api.liveblocks.io/v2
- URL: https://api.liveblocks.io/v2/rooms/{roomId}/versions/{versionId}/yjs
- Auth: none declared
Path parameters
roomIdstring required
ID of the room
Example:my-room-id
versionIdstring required
ID of the version
Example:vh_abc123
Response
Success. Returns the Yjs document version as a binary stream.
Changes
- info
api tag
Version Historyadded - info
api tag
Yjsremoved
- info
- info
endpoint added
- info