Internal: read CRDT state (notes-sync only)
Service-to-service surface for the notes-sync realtime server, gated by the X-Internal-Key shared secret (501 when unconfigured). Returns the stored Yjs binary state (base64, empty when none) plus the current JSON projection and rev so a fresh Y.Doc can be seeded. With rev_only=1 only the rev is returned (notes-sync polls open documents for writes made outside collab).
View as MarkdownPath Parameters
uuidQuery Parameters
Pass "1" to return only the rev.
Header Parameters
Shared service secret (INTERNAL_API_KEY).
Response Body
application/json
curl -X GET "https://example.com/internal/pages/497f6eca-6276-4993-bfeb-53cbbbba6f08/sync" \ -H "X-Internal-Key: string"{ "ydoc": "string", "staleYdoc": "string", "staleYdocHash": "string", "seedPersist": true, "doc": {}, "rev": 0}Liveness probe
Unauthenticated liveness check used by the platform and monitors, served at the root and under the base path (api.easerix.com/notes/health). It also reports the weekly integrity check: an uptime monitor can alert on integrity other than ok. Status and counts only.
Internal: persist CRDT state (notes-sync only)
Stores the Yjs binary and projects the JSON doc through the standard save path (rev bump, snapshot throttling, wiki-link edges, search text). The sync server is authoritative during co-editing, except over writes made outside it: when baseRev is sent and the page's rev has moved past it (a REST save, version restore or copilot write while the page was open), the store is refused with 409 and the current doc, so notes-sync applies that write to the live document instead of overwriting it. Without baseRev the store is unconditional.