Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a API route that returns current version of the API #299

Closed
demeringo opened this issue Jul 19, 2024 · 2 comments
Closed

Add a API route that returns current version of the API #299

demeringo opened this issue Jul 19, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@demeringo
Copy link
Collaborator

Problem

Add a API route that returns current version of the API.

Solution

Alternatives

Return API version in the API output.

Additional context or elements

@da-ekchajzer
Copy link
Collaborator

da-ekchajzer commented Oct 11, 2024

Done here : @utils_router.get('/version', description="Get the version of the API").

It will be available on next release

@da-ekchajzer
Copy link
Collaborator

da-ekchajzer commented Dec 10, 2024

Implemented

curl -X 'GET' \
  'http://api.boavizta.org/v1/utils/version' \
  -H 'accept: application/json'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants