Versioning policy¶
What the version numbers mean, what may change without warning, and what moving between major versions involves.
One version, in two places¶
There is a single number. Every release is major.minor.patch, and the
major is the path prefix you call:
| Release | What you call | Ships when |
|---|---|---|
Major — 2.x.x → 3.0.0 |
/v2 → /v3 |
A breaking change. Rarely, and never silently. |
Minor — 2.0.x → 2.1.0 |
/v2, unchanged |
New endpoints, new optional parameters, new response fields. |
Patch — 2.0.x → 2.0.1 |
/v2, unchanged |
A fix bringing behaviour back in line with what is documented. |
So a release numbered 2. is the API you reach at /v2 — the badge at the
top of /reference reads v2.2.0, and its leading
digit is the prefix that build serves.
Only the major is a contract. The minor and patch tell you which build you are talking to, which is useful when reporting a problem and otherwise safe to ignore: nothing you already send stops working across them.
Releases are cut, not continuous
A release number is published deliberately, so it does not advance with every deployment. Each one is recorded in the changelog.
Which release am I talking to?¶
Two endpoints answer, and which one you use depends on whether you hold a token yet.
Before you have one. GET /auth needs no credential and lists the
versions this deployment serves:
{
"versions": [
{
"id": "v1.0",
"links": [{"href": "https://api.taigacloud.tech/v1/auth", "rel": "self"}],
"status": "DEPRECATED",
"version": null,
"updated": "2026-03-26T12:08:00Z"
},
{
"id": "v2.0",
"links": [{"href": "https://api.taigacloud.tech/v2/auth", "rel": "self"}],
"status": "CURRENT",
"version": "2.0.0",
"updated": "2026-03-26T12:08:00Z"
}
]
}
Build against the entry marked CURRENT, and follow its self link to read
the authentication endpoints from the service rather than hard-coding them.
version is the release serving that prefix — null for v1, which predates
this numbering.
Once you have one. GET /v2/info/apiversion returns the release as a
plain string:
Worth quoting when you report a problem: it names the exact build that produced the behaviour you saw.
Version 2 is current¶
2.0.0 is the current API and the first release numbered this way.
Version 1 still serves traffic at /v1 but is legacy: it is frozen, receives
no new endpoints, authorises differently, and sits outside the release series
above — nothing about it will appear in the changelog. Its document is kept in
/reference, offered as v1 (legacy) in the version switcher,
so its endpoints stay readable while you migrate off them.
v1 will be withdrawn, but no date is set
v1 is deprecated — GET /auth reports its status as DEPRECATED — and it
exists to be migrated off rather than built against. No sunset date is
committed today. When one is set it will be announced in the
changelog, with the date, well ahead of the endpoints
being switched off. Migrate at your own pace; don't start anything new
there.
Moving from v1 to v2¶
- Change the prefix to
/v2 - Obtain a bearer token — see Authentication
- Send
Authorization: Bearer <token>on every request - Handle
403— v2 authorises every request against your role, which v1 didn't do
It's not only a prefix change
Several v2 endpoints return a different representation from their v1 counterpart, and some return different fields depending on your role. Check each endpoint in /reference rather than assuming parity.
What counts as breaking¶
Breaking changes ship as a new major release, which is a new prefix in the path. Within a major, changes are additive only.
| May appear without warning | Only in a new major version |
|---|---|
| New endpoints | Removing an endpoint |
| New optional request parameters | Removing or renaming a response field |
| New fields in responses | Making an optional parameter required |
| New enum values in a response | Changing the type or meaning of a field |
| Changing the status code a condition returns |
The left-hand column arrives in a minor or patch release under the prefix you already call. The practical consequence is that additive changes arrive without warning, so a client that rejects unknown response fields will break on a change that was never meant to affect it. Ignore what you don't recognise — see Conventions.
Two things that are not breaking changes and still surprise people:
- The wording of an error
detail. It's human-readable, not part of the contract. Branch on the status code. - What your own role can see. A role change alters what an endpoint returns to you without the endpoint changing at all.
Reading an older release¶
A release archives the OpenAPI document, and usually the guides, exactly as they shipped. Both stay served:
| Path | What's there |
|---|---|
/archive/<version>/openapi.json |
That release's OpenAPI document |
/archive/<version>/guides/ |
The guides as they read at that release, where it archived them |
/reference offers the same releases in the version switcher at the top of the page, alongside v1 (legacy). Useful when you're pinned to an older release, or when you'd rather see what a field looked like before a change than read a description of it.
Archives begin at 2.0.0; nothing earlier is published.
Watching for changes¶
Changes that affect callers are recorded per release in the changelog. The OpenAPI document is also public and generated from the running service, so you can diff it rather than waiting to read about a change — see Detecting changes yourself.