EaserixDocs
DevelopersAPI referenceNotesSystem

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 Markdown
GET
/internal/sync/revocations

Query Parameters

since?string

The previous answer's next (RFC 3339). Omitted means 30 s ago.

Formatdate-time

Header Parameters

X-Internal-Key*string

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"  ]}