Internal: share links revoked and pages trashed since a time (notes-sync only)
Revocation feed for the notes-sync realtime server, gated by the X-Internal-Key shared secret (501 when unconfigured). notes-sync polls it every few seconds and closes the matching share-link connections at once, instead of at its per-connection re-check. Share links are reported as SHA-256 hashes (hex) of their tokens, never the tokens. since is a cursor: pass the previous answer's next. Rows come oldest first, at most 1000 of each kind; a full answer's next trails the clock by 30 s (so late commits are seen again), a capped answer's next is the last row's time (so a burst is read over several polls). The feed never looks back more than 10 minutes.
View as MarkdownQuery Parameters
The previous answer's next (RFC 3339). Omitted means 30 s ago.
date-timeHeader Parameters
Shared service secret (INTERNAL_API_KEY).
Response Body
application/json
application/json
curl -X GET "https://example.com/internal/sync/revocations" \ -H "X-Internal-Key: string"{ "next": "2019-08-24T14:15:22Z", "revokedShareHashes": [ "string" ], "trashedPageIds": [ "1816570a-074c-4d20-979e-9678b506162c" ]}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.
List known members
Members seen by this service (upserted from JWTs), for name lookups.