Diagrams
Compare two versions
Changed onWhat changed between two versions. from and to are revision numbers or dates; to defaults to the latest.
get/v1/diagrams/{id}/compare
Request
- Base URL: https://api.zindex.ai
- URL: https://api.zindex.ai/v1/diagrams/{id}/compare
- Auth: one of:
- HTTP bearer
- API key in header X-API-Key
Path parameters
idstring required
The diagram's ID or key
Query parameters
fromstring required
The earlier version: a revision number, a date (the end of that day in UTC) or an ISO 8601 timestamp with an offset
tostring
The later version, in the same forms as from; default the latest
Response
{ id, from, to, added, changed, removed, scene, authors } with element IDs, and scene-level fields that changed. authors lists each distinct { by, client } that saved a version after from up to to, with by as in the history
Changes
- info
endpoint added
- info