Wraps API Versioning and Deprecation Policy
How the Wraps Platform API is versioned, what counts as a breaking change, and how deprecations are signaled — Deprecation and Sunset response headers plus a 12-month notice period.
What you can rely on staying put, what can change under you, and how much warning you get before anything is removed.
The Wraps Platform API is versioned in the URL. The current version is served at https://api.wraps.dev and described by the OpenAPI document, whose info.version names the version you are reading.
A breaking change ships as a new version at a new path. The old version keeps working for the notice period below — it is never changed underneath you.
These ship only in a new version:
These ship into the current version at any time, so build a client that tolerates them:
A deprecated endpoint keeps working and starts announcing itself on every response.
| Header | Meaning |
|---|---|
Deprecation | An HTTP date (RFC 9745). The endpoint is deprecated as of this moment. |
Sunset | An HTTP date (RFC 8594). The endpoint stops responding after it. |
Link; rel="deprecation" | This page, explaining the policy. |
Link; rel="successor-version" | What to call instead, when there is a direct replacement. |
The same endpoints are marked deprecated: true in the OpenAPI document, so a generated client sees it at build time rather than at runtime.
| Change | Minimum notice |
|---|---|
| Endpoint or field deprecation | 6 months between the Deprecation date and the Sunset date |
| Security fix that must break a contract | As much notice as the vulnerability allows, announced to affected organizations directly |
Deprecations are announced in the changelog and emailed to organization owners. Nothing is removed without a Sunset date having passed.
code, not error, when branching on a failure. The code values are stable and enumerated in the OpenAPI document; the prose is not.Deprecation and Sunset headers if they appear. That is the only signal that arrives before something you depend on stops working.