API versioning
The API is versioned in the URL path:
https://lsg.bio/api/v1/...
A new major version — /api/v2 — is the response to breaking change. It ships
alongside the old version for a deprecation window announced in these docs and
the changelog, so integrations migrate on their own schedule.
What counts as breaking
- Removing or renaming an endpoint, field, or error code
- Changing a field's type or semantics
- Tightening validation that previously accepted input
- Changing authentication or the error envelope
What does not
- Adding new endpoints
- Adding optional request fields
- Adding fields to responses (clients should ignore unknown properties)
- Adding scopes to the vocabulary
- Fixing behavior to match its documented contract
Practical rules for clients
- Ignore unknown JSON properties. Additive evolution then costs you nothing.
- Do not parse
messagestrings. Branch oncode; copy may improve. - Subscribe to the changelog. Breaking changes never arrive silently — they arrive as a new version with a dated deprecation window.