Versioning
Major version in the path
The major version is part of the path: /v1/....
Within /v1 the API only grows.
A field or resource never disappears from /v1 and never changes its meaning.
Contract version
Every answer names the contract version in meta.schema_version, for example 1.0.1.
The version follows Semantic Versioning:
| Part | Meaning |
|---|---|
Minor (1.1.0) |
New columns or new resources |
Patch (1.0.1) |
Changes to the documentation only |
If the version changes during a paged pull, the API answers with 400 invalid-cursor.
Restart the pull then.
Rules for your connection
- Ignore fields your connection does not know.
- Read only the columns you need.
- Code fields are open sets. New values can appear at any time.
Read the labels from the resource
/v1/codes. - Error codes are open as well. A code never gets a new meaning.
Deprecation
If a part of the API has to go, DIGIBIZ announces it with the headers Deprecation (RFC 9745) and Sunset (RFC 8594).
Sunset names the date from which the part is gone.
Version 1 does not use these headers yet, because nothing is deprecated.
Changes
Every change to the API and the starter kit is listed under Changes.