الصحة والمستند
عنوان الصحة الذي يسأله مدير الخدمات أو موازن التحميل دوريًا، ومستند OpenAPI الذي تُستخرج منه هذه الصفحات.
الصحة
يسأل هذا العنوانَ الأمرُ raaqeb health، وفحص الصحة في الصورة، والمُثبِّت. انظر الصحة وإعادة التشغيل وسجل الخادوم لتعرف ما يحدث حين يفشل.
GET/health
Liveness of the database and scheduler
الاستجابات
| رمز الحالة | الإجابة |
|---|---|
200 | The database answered and the scheduler ticked, or the install is in onboarding. |
503 | The database did not answer or the scheduler's last tick is stale. |
{
// Always true in onboarding.
ok: true;
// The install is in onboarding: no database is open yet.
onboarding: true;
} | {
// Whether the database answered one question.
database: "ok" | "unreachable";
// Whether the database and the scheduler are both ok.
ok: boolean;
// Whether the scheduler's last tick is under two minutes old.
scheduler: "ok" | "stale";
}{
// Always true in onboarding.
ok: true;
// The install is in onboarding: no database is open yet.
onboarding: true;
} | {
// Whether the database answered one question.
database: "ok" | "unreachable";
// Whether the database and the scheduler are both ok.
ok: boolean;
// Whether the scheduler's last tick is under two minutes old.
scheduler: "ok" | "stale";
}مستند OpenAPI
GET/api/openapi.json
The OpenAPI document
الاستجابات
| رمز الحالة | الإجابة |
|---|---|
200 | This document, OpenAPI 3.1, cached for an hour: it changes only with the binary. المحتوى: application/json object. |