Establish a baseline, or drain at most 100 records and 64 KiB at a fixed head.
GET
/api/v1/changes
const url = 'https://example.com/api/v1/changes';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/changes \ --header 'Authorization: Bearer <token>'Route: /api/v1/changes. Inputs: cursor. Safe reads can use bounded retries.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”cursor
string
Responses
Section titled “Responses”Media typeapplication/json
One bounded catch-up page. An absent cursor request establishes a baseline.
object
cursor
required
string
entries
required
Array<object>
One current item revision or a deletion tombstone; bodies remain lazy.
object
deleted
required
boolean
item_id
required
string
plugin_id
required
string
projection
A small header projection, produced by the owning Plugin after access checks.
revision
required
string
sequence
required
integer format: int64
has_more
required
boolean
sequence
required
integer format: int64
Examplegenerated
{ "cursor": "example", "entries": [ { "deleted": true, "item_id": "example", "plugin_id": "example", "projection": "example", "revision": "example", "sequence": 1 } ], "has_more": true, "sequence": 1}Media typeapplication/json
The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}Media typeapplication/json
The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}Media typeapplication/json
The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}Media typeapplication/json
The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}Media typeapplication/json
The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}