Versioning and deprecation

The major version is in the path: /api/v1. Inside v1 we only make compatible changes:

  • adding endpoints, optional input fields or new response fields;
  • adding values to open lists (for example new scopes).

Your code must ignore unknown fields in responses.

Breaking changes

Removing or renaming fields, changing meanings or tightening validation happens in a new version. For anything already in v1 we give at least 6 months' notice:

  1. It is announced in the changelog and by email to the owners of the affected keys.
  2. Responses of the affected endpoint include Deprecation: @<date> and Sunset: <date> (RFC 9745 and RFC 8594), plus a Link with rel="deprecation" to the explanation.
  3. After the Sunset date the endpoint may be removed.

Watch those headers in your logs to find out in time.