Responses

  • 200 application/json

    Successful Response

    Hide response attributes Show response attributes object
    • version_id integer Required
    • name string Required
    • release_type string Required
    • changes array[object] Required
      Hide changes attribute Show changes attribute object
      • Additional properties: array[string]
    • update_url string Required
    • created_at integer Required
  • 503 application/json

    Database connection error

    Hide response attribute Show response attribute object
    • detail string

      Default value is Can't connect to MySQL server on '[SERVER]'.

GET /api/versions/latest
curl \
 -X GET https://lztup.toil.cc/api/versions/latest
Response examples (200)
{
  "version_id": 42,
  "name": "string",
  "release_type": "string",
  "changes": [
    {}
  ],
  "update_url": "string",
  "created_at": 42
}
Response examples (503)
{
  "detail": "Can't connect to MySQL server on '[SERVER]'"
}