Versions
The current version is v2, at /v2
(https://api.checknetworks.tools/v2/account). A path without a prefix
means v2, and always will. A later version gets its own prefix, such as
/v3, and never changes what an unprefixed call does. Every response,
errors included, names the version that answered it:
API-Version: 2
There is no /v1 here. v1 is the older API at api.checknetworks.au. It
is a separate platform, and we are retiring it over time. If you still use
it, talk to us about moving across.
Until launch the API is a pre-release, and a pre-release can change in any
way. The reference’s version is 2.0.0-pre.N. Each release that changes
the reference adds one to N. Launch is version 2.0.0, and the rest of this
page applies from then.
What counts as a breaking change
From launch, within v2 we only add things. We add new endpoints, new optional parameters, new fields in a response, new webhook event types and new error codes. Write your code to ignore fields it does not know.
These are breaking changes:
- removing or renaming a field, endpoint or parameter
- changing a field’s type or meaning
- making an optional input required
- refusing a request we used to accept.
A breaking change happens only by retiring the old call, as described below, or in a new version.
Deprecation
Nothing is deprecated today. When we retire a call or field, you get at least 12 months’ notice before it stops working. We tell you in three places:
- an entry in the changelog and on this page, saying what to use instead
- an email to your account
- three headers on every response from the call.
Deprecation: @1798761599
Sunset: Fri, 31 Dec 2027 23:59:59 GMT
Link: <https://api.checknetworks.tools/docs/concepts/versioning/#deprecation>; rel="deprecation"; type="text/html"
| Header | What it says |
|---|---|
Deprecation |
When the call was deprecated, as @ and a Unix timestamp (RFC 9745). |
Sunset |
The last moment the call answers, as an HTTP date (RFC 8594). It is at least 12 months after the Deprecation. After it, the call answers 404. |
Link |
This section, which says what to use instead. |
The call keeps working normally until the Sunset. Log a warning whenever
a response carries Deprecation. Raise an alert when the Sunset falls
inside your next release cycle. The OpenAPI document also marks deprecated
operations deprecated: true, so a generated client can flag them.
The one exception to the 12 months is a security fix. If keeping a call would put accounts at risk, we may retire it sooner, and we will say why.