Skip to main content

API versioning and deprecation policy: 90 days of notice before a breaking change

There is now a written policy for how the Motorical HTTP APIs change: Versioning and deprecation. It applies from today.

  • At least 90 days of notice before a breaking change, announced here in the changelog first. The old behaviour keeps working until the date given. Fixes for security problems, abuse or legal requirements can take effect at once, with a changelog entry the same day.
  • Error codes and operationId values never change once published.
  • Deprecations are machine-readable. A deprecated operation is marked deprecated: true in openapi.json with x-deprecated-at and x-sunset, and its responses carry Deprecation, Sunset and Link headers. The Communications API does not send the headers yet.
  • What can change without notice is listed too (new fields, new codes, message wording, plan limits), so you know what your integration should tolerate.

One operation is deprecated today: GET /comm-api/api/gdpr/export (use POST). No removal date is set.

Documentation changed