project-notes

Persist a snapshot of a note's collaborative document

put/projects/{project_id}/notes/{note_id}/doc

Request

  • Base URL
    https://api.focusbear.io (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

project_idstring uuid required
note_idstring uuid required

Request body

yjs_statestring base64 required
contentobject

Response

yjs_statestring nullable required

Base64-encoded Y.Doc, or null if the note has no CRDT state yet.

contentobject nullable required

Rendered ProseMirror JSON snapshot, used to seed a fresh Y.Doc.

updated_atstring

When the document was last persisted.

Changes

No recorded changes to this operation across all 1 revision of this API.