Change data feed between two versions (both included, end defaults to latest): one entry
const url = 'https://example.com/datanotes/operations/table_changes/';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"table":"example","start_version":1,"end_version":null}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/datanotes/operations/table_changes/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "table": "example", "start_version": 1, "end_version": null }'Change data feed between two versions (both included, end defaults to latest): one entry
per row change with its values plus _change_type (insert, delete, update_preimage,
update_postimage, metadata), _commit_version, _commit_timestamp, _operation, path.
Use it to answer “what changed since …” without diffing full tables.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Responses
Section titled “Responses”Done.
object
Qualified table.
Oldest first.
A change; row changes also carry the row’s column values.
object
Row note path (row changes).
Example
{ "changes": [ { "_change_type": "insert" } ]}Bad input: the body is not a JSON object, or an argument is unknown, missing or of the wrong type.
object
What went wrong, for a person or an agent.
Example generated
{ "error": "example"}Missing or wrong bearer token.
object
What went wrong, for a person or an agent.
Example generated
{ "error": "example"}Unknown table, view, migration, note or folder.
object
What went wrong, for a person or an agent.
Example generated
{ "error": "example"}Ambiguous table name: it matches several tables (paths or tables lists them).
object
The tables’ folders the name matches.
The qualified tables the name matches.
Example generated
{ "error": "example", "paths": [ "example" ], "tables": [ "example" ]}Unexpected error.
object
What went wrong, for a person or an agent.
Example generated
{ "error": "example"}