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 Harmony Python package version to /info/version endpoint #3

Closed
woodthom2 opened this issue Mar 1, 2024 · 3 comments
Closed

Add Harmony Python package version to /info/version endpoint #3

woodthom2 opened this issue Mar 1, 2024 · 3 comments
Assignees

Comments

@woodthom2
Copy link
Contributor

woodthom2 commented Mar 1, 2024

we have an /info/version endpoint in the API

https://api.harmonydata.ac.uk/docs#/Info/show_version_info_version_get

image

However this is showing the commit ID only (taken from an environment variable at the time the Docker container is built)

We should also include the version of Harmony Python package in the return value, for example as below:

{
  "version_id": "20240122115533_2aa3327"
  "harmony_version": "0.5.0"
}

When this is completed we need to display the version in the front end - see related front end issue: harmonydata/app#12

@ronnyTodgers
Copy link

Makes a lot of sense!

@woodthom2
Copy link
Contributor Author

Fixed in repo and redeployed today https://api.harmonydata.ac.uk/docs#/Info

@woodthom2
Copy link
Contributor Author

fixed

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

No branches or pull requests

2 participants