/api/version

Returns version details of the backend, including current version, release status, and upstream/latest version information.

GET
Request

Info

This endpoint requires authentication.

Response

Status: 200 OK

Content-Type: application/json

PropertyTypeDescription
detailsobjectBuild/version info from the server (result from the version server).
dataVersionAPIUpstream and release version details.

VersionAPI Type

PropertyTypeDescription
isUpstreambooleanIs this running the upstream codebase?
isReleasebooleanIs this an official release?
isLatestbooleanIs this the latest available version?
versionobjectCurrent version information.
version.tagstringVersion tag.
version.shastringGit SHA of current version.
version.urlstringURL to commit or release.
latestobjectLatest available version.
latest.tagstringLatest version tag.
latest.urlstringURL to latest version/release.
latest.commitobject?~Latest commit info (omitted if not upstream).
latest.commit.shastringCommit SHA.
latest.commit.urlstringCommit URL.
latest.commit.pullbooleanIs from a pull request.

Example

{
"data": {
"latest": {
"tag": "v4.1.0",
"url": "https://github.com/diced/zipline/releases/v4.1.0",
"commit": {
"sha": "e8380cc261c00e76c66a5810f2588a4e777c3eab",
"url": "https://github.com/diced/zipline/commit/e8380cc261c00e76c66a5810f2588a4e777c3eab",
"pull": true
}
},
"isUpstream": true,
"isRelease": false,
"isLatest": true,
"version": {
"tag": "v4.1.0",
"sha": "e8380cc",
"url": "https://github.com/diced/zipline/commit/e8380cc"
}
},
"details": { "version": "4.1.0", "sha": "e8380cc" }
}

Error Responses

  • 404 Not Found

    Version checking is disabled

  • 500 Internal Server Error

    Failed to fetch version details (network, API, or other errors).



Last updated: 5/28/2025
Edit this page on GitHub