Skip to content

Add /version endpoint returning build version and git commit #155

Description

@kltm

Problem

There is no way to programmatically determine which version of the API is running on a given instance. This makes it difficult to verify deployments, especially when the production instance is behind Cloudflare and its origin IP cannot be resolved via DNS.

Proposed solution

Add a /version or /health endpoint that returns:

  • The Docker image tag / release version (e.g. 0.3.9-a)
  • The git commit SHA the image was built from

This would allow automated verification that the correct code is deployed after a release, and help identify which instance Cloudflare is pointing to without needing to check the Cloudflare dashboard manually.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Low-priority bot thotSomething that a bot thought of during coding; not something we're going to chase right now.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions