96Astro API

Documentation

Versioning and changes

How the 96Astro API versions its endpoints, what counts as a breaking change, and how deprecations are announced before anything changes.

The version is in the path: /v1. Within a version we only make additive changes:

  • new capabilities, options or languages;
  • new fields in responses;
  • new error codes within existing statuses.

Your code should ignore fields it does not know. A breaking change ships as a new version, announced in the changelog with a migration guide and a support period for the old version.

Each response includes meta.api_version. Calculation fixes that change results, for example a corrected boundary case, are listed in the changelog with the affected capabilities.

Deprecated capabilities

A capability that is going to be retired is marked deprecated in the catalogue and in the OpenAPI document, and every response from it carries a Deprecation header (when it was deprecated) and, when a retirement date is set, a Sunset header (RFC 8594) with a Link to its page. Watch for those headers in your logs.

The OpenAPI document at /openapi/v1.json (also served by the API at GET /v1/openapi.json, with ETag caching) always matches the version you call.

Was this page helpful?

On this page

Send us feedback

What is it about?