Skip to content

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

@woodthom2

Description

@woodthom2

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions