System

1 endpoint under System.

GET /v1/system/status

Basic uptime/online check. The only authenticated-optional route besides `/`.

Request
curl -H "x-animex-internal-token: YOUR_TOKEN" \
  "https://your-api-host/v1/system/status"
$ch = curl_init('https://your-api-host/v1/system/status');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
    'x-animex-internal-token: YOUR_TOKEN',
]);

$response = curl_exec($ch);
curl_close($ch);

$data = json_decode($response, true);
print_r($data);
const response = await fetch('https://your-api-host/v1/system/status', {
  headers: {
    'x-animex-internal-token': 'YOUR_TOKEN',
  },
});

const data = await response.json();
console.log(data);
Example response
{ "status": "ok", "uptime": 123456 }