API Versioning
The Turris Public API uses URI-based versioning to ensure backward compatibility while allowing for continuous improvements.Version Format
Include the version in your request path:Available Versions
| Version | Status | Description |
|---|---|---|
v1 | Stable | Current production version |
Using Versions
Example Request
Usev1 for all API integrations:
Version Lifecycle
Stable Versions
- Backward compatible - Existing fields and behaviors won’t change
- Additive changes only - New optional fields may be added
- Long-term support - Deprecated with ample notice (minimum 6 months)
Deprecation Policy
When a version is deprecated:- Announcement - We’ll notify you via email and documentation
- Grace period - Minimum 6 months to migrate
- Sunset - Version returns
410 Goneafter deprecation date
Deprecation Headers
Deprecated endpoints include warning headers:Migration Guide
When migrating between versions:- Review changelog - Check what’s changed between versions
- Test in sandbox - Verify your integration works with the new version
- Update gradually - Migrate endpoint by endpoint if needed
- Monitor errors - Watch for issues after migration
Best Practices
Use Stable Version
Always use the stable version (
v1) for all integrationsMonitor Headers
Watch for deprecation headers in responses
Subscribe to Updates
Stay informed about version changes via our changelog