Version

Version Endpoint #

Get API version information.

GET /version #

Returns the current API version. This endpoint does not require authentication.

Request #

GET /api/version

Response #

Success Response #

Status: 200 OK

{
  "result": "1.0.0",
  "error": null,
  "meta": null
}

Response Fields #

FieldTypeDescription
resultstringThe current API version (e.g., “1.0.0”)
errornullAlways null for successful responses
metanullAlways null for this endpoint

Example #

curl -X GET https://your-uptimer-instance.com/api/version

Response:

{
  "result": "1.0.0",
  "error": null,
  "meta": null
}

Notes #

  • This endpoint is public and does not require authentication
  • The version string follows semantic versioning (e.g., “1.0.0”)
  • During development, the version may be “dev”
  • The version can be overridden during build using build flags