Skip to content

Reliable version endpoint for the api instance. #734

@augustjohnson

Description

@augustjohnson

Is your feature request related to a problem? Please describe.
As of right now, there is no client way to tell which version (as in github release) a given instance is running.
There are a couple of reasons why this could be helpful.

Describe the solution you'd like
I think that there should be a clean and clear semantic version that is generally returned by the API through some sort of endpoint (/version makes sense to me, but there could be other options).

git rev-parse --short HEAD may be a reliable command to generate a string that we can use.

Describe alternatives you've considered
There may be reasons to have hashes at a /data/publisher level? Some downstream tools could potentially only choose to update their data when the commit of a specific publisher changes. I'm not sure this is a use case that needs to be supported though, as the entire repo is only like 30mb.

Additional context

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