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 /version endpoint #13

Closed
fschoell opened this issue Apr 23, 2024 · 1 comment
Closed

Add a /version endpoint #13

fschoell opened this issue Apr 23, 2024 · 1 comment
Assignees
Labels
feature New feature or request

Comments

@fschoell
Copy link

It would be good to have a /version endpoint that exposes the API's deployed version (if tagged, otherwise something static like dev) and the commit hash. That makes it easy to see what version is deployed when visiting the API. See this endpoint on the Pinax Accout API for example: https://api.account.pinax.network/swagger/index.html#/version/get_version

@fschoell fschoell added the feature New feature or request label Apr 23, 2024
@0237h
Copy link
Collaborator

0237h commented Apr 23, 2024

Thanks for the feature request !

I agree, should be useful to have an endpoint for this. I actually implemented it for the logging already in #10. Just need to add tags potentially as well.

I will look into it 👍🏻

@0237h 0237h closed this as completed in 3f3fb77 Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants