Liveblocks

Official
by liveblocks

get-yjs-document

Retrieve a Yjs text document from a specified Liveblocks room by providing the room ID, with options to format or customize the output.

Instructions

Get a Liveblocks Yjs text document

Input Schema

NameRequiredDescriptionDefault
optionsNo
roomIdYes

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "options": { "additionalProperties": false, "properties": { "format": { "type": "boolean" }, "key": { "type": "string" }, "type": { "type": "string" } }, "type": "object" }, "roomId": { "type": "string" } }, "required": [ "roomId" ], "type": "object" }
ID: x714wi36o5