admin_version_retrieve
GET/admin/version/
Get running and latest version.
Responses
- 200
- 400
- 403
- application/json
- Schema
- Example (from schema)
Schema
version_current stringrequired
Get current version
version_latest stringrequired
Get latest version from cache
version_latest_valid booleanrequired
Check if latest version is valid
build_hash stringrequired
Get build hash, if version is not latest or released
outdated booleanrequired
Check if we're running the latest version
{
"version_current": "string",
"version_latest": "string",
"version_latest_valid": true,
"build_hash": "string",
"outdated": true
}
- application/json
- Schema
- Example (from schema)
Schema
non_field_errors string[]
code string
{
"non_field_errors": [
"string"
],
"code": "string"
}
- application/json
- Schema
- Example (from schema)
Schema
detail stringrequired
code string
{
"detail": "string",
"code": "string"
}
Loading...