Version History
Create version history snapshot
Changed onThis endpoint creates a new version history snapshot of the room, capturing both its Storage and Yjs documents. Corresponds to liveblocks.createVersionHistorySnapshot.
post/rooms/{roomId}/versions
Request
- Base URL: https://api.liveblocks.io/v2
- URL: https://api.liveblocks.io/v2/rooms/{roomId}/versions
- Auth: none declared
Path parameters
roomIdstring required
ID of the room
Example:my-room-id
Response
Success. Returns the created version ID.
Example response
{
"data": {
"id": "vh_abc123"
}
}Changes
- info
api tag
Version Historyadded - info
api tag
Yjsremoved
- info
- info
endpoint added
- info