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.
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 theGET
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.