API changes and versioning
Which changes need notice, where Rasen announces them, and how to read the version you call.
Summary
This page explains which changes need notice and how Rasen announces them. It also shows where to read the API version. It does not list the changes; see the Changelog and Deprecations.
Facts
Changes your integration must accept
These changes need no deprecation and no notice. An open vocabulary can gain a value without a Changelog entry.
Changes that need notice
A change that can break a working request is a breaking change. It has an entry on Deprecations, with a shutdown date and a replacement:
- The removal of an operation, a field or a value.
- A change to the request or response shape of an existing operation.
A deprecated operation or field keeps working, with its request and response shapes, until its shutdown date. A removal comes on its shutdown date or later, never earlier.
Where Rasen announces a change
Rasen announces a change to the meaning of a value, for example a more precise end_reason, in
the Changelog with a What to do: line.
Read the version you call
getContext(GET /context) returnsapi_version. It is the version in the path,v1.- Each webhook event carries
api_version: the version of the schemas that built itsdata. - The Changelog names each API version and the changes it brought.
- No response header carries the API version.
Rules
- MUST accept a new response field, a new operation and a new value of an open vocabulary.
- MUST keep an unknown value, and never read it as success.
- MUST NOT build a new integration on an operation or field that Deprecations lists.
- MUST move off a deprecated item before its shutdown date.
- MUST compare the operation IDs that your integration calls with the Deprecated column of each Deprecations entry.