aresdb
aresdb copied to clipboard
API versioning
Is your feature request related to a problem? Please describe. currently our api is not versioned, this leads to risk in API updates, eg. ingestion upsert batch update or query response update
Describe the solution you'd like Common api versioning strategies:
- Version by URL path (ex: /api/v1/foo)
- Version by URL query string (ex: /api/foo?api-version=1.0)
- Version by HTTP header (ex: api-version: 1.0)
- Version by media type negotiation (ex: accept: application/vnd.mycompany.myapp-v2+xml)
we might worry about this later since as of now the API client of AresDB is also controlled by us. we might be better to ensure the upgrade is backward-compatible instead of make breaking changes
In the view of LTE, API version in URL is needed.