astarte-platform / astarte

Core Astarte Repository
https://docs.astarte-platform.org/
Apache License 2.0
240 stars 46 forks source link

Astarte microservices should expose a version endpoint #890

Closed Annopaolo closed 6 months ago

Annopaolo commented 9 months ago

Add a /version endpoint to each microservice API, so that it could be queried by third-party applications that depend on Astarte. Note that the endpoint would return the microservice version, not the API version. The endpoint should be queried using the GET verb and it should be accessible without auth, as done with /health.

This would allow applications to act differently depending on the underlying Astarte services version. This might come in hand e.g. to know whether device deletion is allowed or not.

Annopaolo commented 6 months ago

Closed by #893