Skip to main content

Module changes

Module changes 

Source
Expand description

The changes op — return graph changelog entries since a given version.

Used by federation connectors for incremental delta sync instead of full read("*") on every interval.

§Request Grid Columns

ColumnKindDescription
versionNumberGraph version to query changes since (0 for all)

§Response

Grid meta contains curVer (Number) — the current graph version.

ColumnKindDescription
versionNumberVersion after this mutation
opStr"add", "update", or "remove"
refStrEntity ref value
entityDictEntity data (present for add/update only)

§Errors

  • 400 Bad Request — request grid decode failure.
  • 500 Internal Server Error — encoding error.

Functions§

handle
POST /api/changes