Follow the changes of a Space
Follow a Space: the first call (no cursor) lists every record and document once, page by page; later calls with the returned cursor list only what changed since, each target once with its newest state. Process pages until has_more is false and keep the cursor. Items can repeat and intermediate states are not delivered. A record item carries type and revision, a document item path and hash (null while browser edits wait to be rendered); deleted marks archived or deleted targets. include=values adds record values and document text up to 64 KB. wait_seconds holds the call until something changes. On resync_required start again without a cursor.
Authorization
bearerApiKey Create a scoped API key in the Adlass settings.
In: header
Header Parameters
Optional correlation identifier.
length <= 128Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/data/changes" \ -H "Content-Type: application/json" \ -d '{ "space_id": "123e4567-e89b-42d3-a456-426614174000" }'{ "items": [ { "seq": 0, "kind": "record", "id": "example", "deleted": false } ], "cursor": "example", "has_more": false}