How versions work
Each endpoint is versioned independently with a path segment after the endpoint name. The bare path is version 1, and later versions append/v2/, /v3/, and so on.
404:
Current versions
Breaking and additive changes
A new version is introduced only for breaking changes:- Removing, renaming, or changing the type or nesting of a response field.
- Changing a field’s meaning or casing.
- Removing a request parameter, or changing authentication requirements.
Deprecation
When a new version replaces an old one:- The change is announced on the changelog, naming the new version path.
- The old version keeps working, unchanged, for at least 6 months from the announcement.
- After the deprecation window, the old version is retired. Retired paths return
410and, later,404.