Read server status

GET /status

Responses

  • 200

    OK

    Hide response attributes Show response attributes object
    • environment string
    • start_timestamp number
    • commit_sha string
    • branch_name string
    • mqtt_hostname string
    • mqtt_port integer
  • 400

    Bad Request

GET /status
curl \
 -X GET https://example.com/status
Response examples (200)
{
  "environment": "production",
  "start_timestamp": 1683644400.0,
  "commit_sha": "1a2984bf5ffda71207fb133d785eb486cb465618",
  "branch_name": "main",
  "mqtt_hostname": "mqtt.example.com",
  "mqtt_port": 8883
}
Response examples (200)
{
  "environment": "production",
  "start_timestamp": 1683644400.0,
  "commit_sha": "1a2984bf5ffda71207fb133d785eb486cb465618",
  "branch_name": "main",
  "mqtt_hostname": "mqtt.example.com",
  "mqtt_port": 8883
}