Status pages
Each view's JSON document, a page's images, its Statuspage-compatible summary, its badge and feed, and the custom domain question.
A published status page answers these to anyone. One that is not published answers 404, except to the signed-in operator, who gets its documents with Cache-Control: no-store.
Each answer carries an ETag. Send it back in If-None-Match and an unchanged answer is a 304 with no body. {id} is the status page's id.
Overview
A status page's overview document
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id | path | string | The status page's id: page.id in any of its view documents, or the last part of its address in the admin area, /admin/pages/<id>. |
Responses
| Status | Answer |
|---|---|
200 | The overview: the page's status level, its open incidents, its maintenance windows in progress or scheduled, and its components with their bars and uptime; each day of a bar carries its downtime, observed time and mean response time, and the incidents and maintenance windows that ran on it. It carries an ETag and Cache-Control: public, max-age=0, must-revalidate; it changes when anything it shows changes, and at most five minutes after the clock moves today's figures. A HEAD gets no body. |
304 | The ETag the request holds is still the document's. |
404 | No such page. A page that is not published is not found, except to the signed-in operator, who gets its document with Cache-Control: no-store. While no database is open no page is found. Body: text/plain Not Found. |
503 | The database did not answer. Body: text/plain Service Unavailable. |
{
// The install's calendar, which visitors read dates in.
calendar: "gregorian" | "hijri" | "hijri_gregorian";
// The install's clock, 12-hour or 24-hour, which visitors read times in.
clock: "12h" | "24h";
// Open incidents touching the page's components, newest first.
incidents: {
// The ids of the page's components it affects, in the page's order.
components: string[];
// The incident's id.
id: string;
// The incident's impact level.
impact: "none" | "minor" | "major" | "critical";
// The stage its latest update moved it to.
stage: "investigating" | "identified" | "monitoring";
// The incident's title, one text per locale.
title: { [key in "ar" | "en"]?: string };
// Its latest update.
update: {
// When it was posted, in UTC.
at: string; // date-time
// What it says, one text per locale.
message: { [key in "ar" | "en"]?: string };
};
}[];
// The page's component list in its order: components and component groups.
items: ({
// The component.
component: {
// The day bar's days, oldest first, today last; absent when the page hides the bar.
days?: {
// The UTC day, `yyyy-mm-dd`.
date: string; // date
// The day's downtime in milliseconds: time in outages, counted only where it is observed time.
downtimeMs: integer;
// The incidents that ran on the day.
incidents: {
// The incident's or maintenance window's id, as its view's address takes it.
id: string;
// Its title, one text per locale.
title: { [key in "ar" | "en"]?: string };
}[];
// The maintenance windows that ran on the day.
maintenance: {
id: string;
title: { [key in "ar" | "en"]?: string };
}[];
// The day's observed time in milliseconds: the part Raaqeb had checks to judge by.
observedMs: integer;
// The day's mean response time in milliseconds; null without a timed check.
responseMs: integer | null;
// The day's uptime; null when nothing was observed.
uptime: {
// How many decimal places the screen shows, 0 to 5.
decimals: integer;
// The uptime in percent, rounded down to `decimals` places.
percent: number;
} | null;
}[];
// The component's description, one text per locale; absent when it has none.
description?: { [key in "ar" | "en"]?: string };
// The component's id.
id: string;
// The component's name, one text per locale.
name: { [key in "ar" | "en"]?: string };
// The component's status level.
status: "operational" | "under_maintenance" | "degraded_performance" | "partial_outage" | "major_outage";
// The uptime over the bar's days; absent when the page hides percentages, null when nothing was observed.
uptime?: {
decimals: integer;
percent: number;
} | null;
};
// A component on its own.
kind: "component";
} | {
// The group's components, in the page's order.
components: {
days?: {
date: string; // date
downtimeMs: integer;
incidents: {
id: string;
title: { [key in "ar" | "en"]?: string };
}[];
maintenance: {
id: string;
title: { [key in "ar" | "en"]?: string };
}[];
observedMs: integer;
responseMs: integer | null;
uptime: {
decimals: integer;
percent: number;
} | null;
}[];
description?: { [key in "ar" | "en"]?: string };
id: string;
name: { [key in "ar" | "en"]?: string };
status: "operational" | "under_maintenance" | "degraded_performance" | "partial_outage" | "major_outage";
uptime?: {
decimals: integer;
percent: number;
} | null;
}[];
// A component group.
kind: "group";
// The group's name, one text per locale.
name: { [key in "ar" | "en"]?: string };
// The group's status level: the worst of its components'.
status: "operational" | "under_maintenance" | "degraded_performance" | "partial_outage" | "major_outage";
})[];
// The page's status level, which the banner shows.
level: "operational" | "under_maintenance" | "degraded_performance" | "partial_outage" | "major_outage";
// Maintenance windows in progress first, then scheduled ones, each soonest first.
maintenance: {
components: string[];
// When the window ends, in UTC.
endsAt: string; // date-time
// The maintenance window's id.
id: string;
// What the window is for, one text per locale.
message: { [key in "ar" | "en"]?: string };
// Scheduled before it starts, in progress until it ends.
stage: "scheduled" | "in_progress";
// When the window starts, in UTC.
startsAt: string; // date-time
// The window's title, one text per locale.
title: { [key in "ar" | "en"]?: string };
}[];
// What the page shows of itself: its text, its images' URLs and its customization.
page: {
// The page's brand colour, `#rrggbb`; absent for the default.
brandColour?: string;
// The page's contact link, an https, http or mailto link; absent when it has none.
contactUrl?: string;
// The page's own CSS, added after its styles; absent when it has none.
customCss?: string;
// The page's description, one text per locale; absent when it has none.
description?: { [key in "ar" | "en"]?: string };
// The links in the page's footer, in order.
footerLinks: {
// The link's text, one text per locale.
label: { [key in "ar" | "en"]?: string };
// Where the link leads: an https, http or mailto link.
url: string;
}[];
// The status page's id.
id: string;
// The URLs of the page's images, each carrying the image's hash; an image the page lacks is absent.
images: {
// The cover image's URL.
cover?: string;
// The favicon's URL.
favicon?: string;
// The logo's URL.
logo?: string;
};
// The page's own name for a status level, one text per locale; a level with none shows Raaqeb's word.
labels: { [key in "operational" | "under_maintenance" | "degraded_performance" | "partial_outage" | "major_outage"]?: { [key in "ar" | "en"]?: string } };
// The page language: the language of its plain address.
locale: "ar" | "en";
// Whether the page asks search engines not to index it.
noindex: boolean;
// Whether the page shows its Powered by Raaqeb link.
poweredBy: boolean;
// The page's own colour for a status level, `#rrggbb`; a level with none has the default.
statusColours: { [key in "operational" | "under_maintenance" | "degraded_performance" | "partial_outage" | "major_outage"]?: string };
// The page's theme: the visitor's system setting, light or dark.
theme: "system" | "light" | "dark";
// The page's title, one text per locale.
title: { [key in "ar" | "en"]?: string };
};
// The channels the subscribe form offers: the ones the page shows, email only while an email channel exists; none hides the form.
subscribe: ("email" | "webhook")[];
// The install's time zone, an IANA name: the server's first paint writes times in it with its label; the browser then shows its own zone.
timeZone: string;
}History
A status page's history this month
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id | path | string | The status page's id: page.id in any of its view documents, or the last part of its address in the admin area, /admin/pages/<id>. |
Responses
| Status | Answer |
|---|---|
200 | The page's resolved incidents and completed maintenance windows that started in the month (UTC), newest first, with the months before and after inside the history, which runs from the month of the page's oldest entry, or of the day bar's first day when that is earlier, to the current month. It carries the page's own content in each locale, images and customization and the install's clock and calendar, an ETag, and Cache-Control: public, max-age=0, must-revalidate. A HEAD gets no body. |
304 | The ETag the request holds is still the document's. |
404 | No such page. A page that is not published is not found, except to the signed-in operator, who gets its document with Cache-Control: no-store. While no database is open no page is found. Body: text/plain Not Found. |
503 | The database did not answer. Body: text/plain Service Unavailable. |
{
// The install's calendar, which visitors read dates in.
calendar: "gregorian" | "hijri" | "hijri_gregorian";
// The install's clock, 12-hour or 24-hour, which visitors read times in.
clock: "12h" | "24h";
// What the page shows of itself: its text, its images' URLs and its customization.
page: {
// The page's brand colour, `#rrggbb`; absent for the default.
brandColour?: string;
// The page's contact link, an https, http or mailto link; absent when it has none.
contactUrl?: string;
// The page's own CSS, added after its styles; absent when it has none.
customCss?: string;
// The page's description, one text per locale; absent when it has none.
description?: { [key in "ar" | "en"]?: string };
// The links in the page's footer, in order.
footerLinks: {
// The link's text, one text per locale.
label: { [key in "ar" | "en"]?: string };
// Where the link leads: an https, http or mailto link.
url: string;
}[];
// The status page's id.
id: string;
// The URLs of the page's images, each carrying the image's hash; an image the page lacks is absent.
images: {
// The cover image's URL.
cover?: string;
// The favicon's URL.
favicon?: string;
// The logo's URL.
logo?: string;
};
// The page's own name for a status level, one text per locale; a level with none shows Raaqeb's word.
labels: { [key in "operational" | "under_maintenance" | "degraded_performance" | "partial_outage" | "major_outage"]?: { [key in "ar" | "en"]?: string } };
// The page language: the language of its plain address.
locale: "ar" | "en";
// Whether the page asks search engines not to index it.
noindex: boolean;
// Whether the page shows its Powered by Raaqeb link.
poweredBy: boolean;
// The page's own colour for a status level, `#rrggbb`; a level with none has the default.
statusColours: { [key in "operational" | "under_maintenance" | "degraded_performance" | "partial_outage" | "major_outage"]?: string };
// The page's theme: the visitor's system setting, light or dark.
theme: "system" | "light" | "dark";
// The page's title, one text per locale.
title: { [key in "ar" | "en"]?: string };
};
// The install's time zone, an IANA name: the server's first paint writes times in it with its label; the browser then shows its own zone.
timeZone: string;
// The month's entries by the UTC month they started in, newest first.
entries: ({
// The page's components it affects, in the page's order.
components: {
// The component's id.
id: string;
// The component's name, one text per locale.
name: { [key in "ar" | "en"]?: string };
}[];
// The incident's id.
id: string;
// The incident's impact level.
impact: "none" | "minor" | "major" | "critical";
// A resolved incident.
kind: "incident";
// When it was resolved, in UTC.
resolvedAt: string; // date-time
// When it started, in UTC.
startedAt: string; // date-time
// The incident's title, one text per locale.
title: { [key in "ar" | "en"]?: string };
} | {
components: {
id: string;
name: { [key in "ar" | "en"]?: string };
}[];
// When the window ended, in UTC.
endsAt: string; // date-time
// The maintenance window's id.
id: string;
// A completed maintenance window.
kind: "maintenance";
// When the window started, in UTC.
startsAt: string; // date-time
// The window's title, one text per locale.
title: { [key in "ar" | "en"]?: string };
})[];
// The UTC month the document holds, `yyyy-mm`.
month: string;
// The month after, `yyyy-mm`; absent at the current month.
next?: string;
// The month before, `yyyy-mm`; absent at the history's first month: the page's oldest entry's or the day bar's first day's, whichever is earlier.
previous?: string;
}A status page's history for one month
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id | path | string | The status page's id: page.id in any of its view documents, or the last part of its address in the admin area, /admin/pages/<id>. |
month | path | string matching ^\d{4}-(0[1-9]|1[0-2])$ | A UTC month, yyyy-mm, as a history document's month, previous and next give it. |
Responses
| Status | Answer |
|---|---|
200 | The page's resolved incidents and completed maintenance windows that started in the month (UTC), newest first, with the months before and after inside the history, which runs from the month of the page's oldest entry, or of the day bar's first day when that is earlier, to the current month. It carries the page's own content in each locale, images and customization and the install's clock and calendar, an ETag, and Cache-Control: public, max-age=0, must-revalidate. A HEAD gets no body. |
304 | The ETag the request holds is still the document's. |
404 | No such page, or the month is outside its history. A page that is not published is not found, except to the signed-in operator, who gets its document with Cache-Control: no-store. While no database is open no page is found. Body: text/plain Not Found. |
503 | The database did not answer. Body: text/plain Service Unavailable. |
{
// The install's calendar, which visitors read dates in.
calendar: "gregorian" | "hijri" | "hijri_gregorian";
// The install's clock, 12-hour or 24-hour, which visitors read times in.
clock: "12h" | "24h";
// What the page shows of itself: its text, its images' URLs and its customization.
page: {
// The page's brand colour, `#rrggbb`; absent for the default.
brandColour?: string;
// The page's contact link, an https, http or mailto link; absent when it has none.
contactUrl?: string;
// The page's own CSS, added after its styles; absent when it has none.
customCss?: string;
// The page's description, one text per locale; absent when it has none.
description?: { [key in "ar" | "en"]?: string };
// The links in the page's footer, in order.
footerLinks: {
// The link's text, one text per locale.
label: { [key in "ar" | "en"]?: string };
// Where the link leads: an https, http or mailto link.
url: string;
}[];
// The status page's id.
id: string;
// The URLs of the page's images, each carrying the image's hash; an image the page lacks is absent.
images: {
// The cover image's URL.
cover?: string;
// The favicon's URL.
favicon?: string;
// The logo's URL.
logo?: string;
};
// The page's own name for a status level, one text per locale; a level with none shows Raaqeb's word.
labels: { [key in "operational" | "under_maintenance" | "degraded_performance" | "partial_outage" | "major_outage"]?: { [key in "ar" | "en"]?: string } };
// The page language: the language of its plain address.
locale: "ar" | "en";
// Whether the page asks search engines not to index it.
noindex: boolean;
// Whether the page shows its Powered by Raaqeb link.
poweredBy: boolean;
// The page's own colour for a status level, `#rrggbb`; a level with none has the default.
statusColours: { [key in "operational" | "under_maintenance" | "degraded_performance" | "partial_outage" | "major_outage"]?: string };
// The page's theme: the visitor's system setting, light or dark.
theme: "system" | "light" | "dark";
// The page's title, one text per locale.
title: { [key in "ar" | "en"]?: string };
};
// The install's time zone, an IANA name: the server's first paint writes times in it with its label; the browser then shows its own zone.
timeZone: string;
// The month's entries by the UTC month they started in, newest first.
entries: ({
// The page's components it affects, in the page's order.
components: {
// The component's id.
id: string;
// The component's name, one text per locale.
name: { [key in "ar" | "en"]?: string };
}[];
// The incident's id.
id: string;
// The incident's impact level.
impact: "none" | "minor" | "major" | "critical";
// A resolved incident.
kind: "incident";
// When it was resolved, in UTC.
resolvedAt: string; // date-time
// When it started, in UTC.
startedAt: string; // date-time
// The incident's title, one text per locale.
title: { [key in "ar" | "en"]?: string };
} | {
components: {
id: string;
name: { [key in "ar" | "en"]?: string };
}[];
// When the window ended, in UTC.
endsAt: string; // date-time
// The maintenance window's id.
id: string;
// A completed maintenance window.
kind: "maintenance";
// When the window started, in UTC.
startsAt: string; // date-time
// The window's title, one text per locale.
title: { [key in "ar" | "en"]?: string };
})[];
// The UTC month the document holds, `yyyy-mm`.
month: string;
// The month after, `yyyy-mm`; absent at the current month.
next?: string;
// The month before, `yyyy-mm`; absent at the history's first month: the page's oldest entry's or the day bar's first day's, whichever is earlier.
previous?: string;
}Incident
One incident as a status page shows it
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id | path | string | The status page's id: page.id in any of its view documents, or the last part of its address in the admin area, /admin/pages/<id>. |
incidentId | path | string | The incident's id, as the overview's open incidents, a day of a component's bar or a history entry gives it. |
Responses
| Status | Answer |
|---|---|
200 | The incident's impact, stage and times, the page's components it affects, and every update, newest first. It carries the page's own content in each locale, images and customization and the install's clock and calendar, an ETag, and Cache-Control: public, max-age=0, must-revalidate. A HEAD gets no body. |
304 | The ETag the request holds is still the document's. |
404 | No such page, or no such incident on a component the page shows. A page that is not published is not found, except to the signed-in operator, who gets its document with Cache-Control: no-store. While no database is open no page is found. Body: text/plain Not Found. |
503 | The database did not answer. Body: text/plain Service Unavailable. |
{
// The install's calendar, which visitors read dates in.
calendar: "gregorian" | "hijri" | "hijri_gregorian";
// The install's clock, 12-hour or 24-hour, which visitors read times in.
clock: "12h" | "24h";
// What the page shows of itself: its text, its images' URLs and its customization.
page: {
// The page's brand colour, `#rrggbb`; absent for the default.
brandColour?: string;
// The page's contact link, an https, http or mailto link; absent when it has none.
contactUrl?: string;
// The page's own CSS, added after its styles; absent when it has none.
customCss?: string;
// The page's description, one text per locale; absent when it has none.
description?: { [key in "ar" | "en"]?: string };
// The links in the page's footer, in order.
footerLinks: {
// The link's text, one text per locale.
label: { [key in "ar" | "en"]?: string };
// Where the link leads: an https, http or mailto link.
url: string;
}[];
// The status page's id.
id: string;
// The URLs of the page's images, each carrying the image's hash; an image the page lacks is absent.
images: {
// The cover image's URL.
cover?: string;
// The favicon's URL.
favicon?: string;
// The logo's URL.
logo?: string;
};
// The page's own name for a status level, one text per locale; a level with none shows Raaqeb's word.
labels: { [key in "operational" | "under_maintenance" | "degraded_performance" | "partial_outage" | "major_outage"]?: { [key in "ar" | "en"]?: string } };
// The page language: the language of its plain address.
locale: "ar" | "en";
// Whether the page asks search engines not to index it.
noindex: boolean;
// Whether the page shows its Powered by Raaqeb link.
poweredBy: boolean;
// The page's own colour for a status level, `#rrggbb`; a level with none has the default.
statusColours: { [key in "operational" | "under_maintenance" | "degraded_performance" | "partial_outage" | "major_outage"]?: string };
// The page's theme: the visitor's system setting, light or dark.
theme: "system" | "light" | "dark";
// The page's title, one text per locale.
title: { [key in "ar" | "en"]?: string };
};
// The install's time zone, an IANA name: the server's first paint writes times in it with its label; the browser then shows its own zone.
timeZone: string;
// The incident the view shows.
incident: {
// The page's components it affects, in the page's order.
components: {
// The component's id.
id: string;
// The component's name, one text per locale.
name: { [key in "ar" | "en"]?: string };
}[];
// The incident's id.
id: string;
// The incident's impact level.
impact: "none" | "minor" | "major" | "critical";
// When it was resolved, in UTC; absent while it is open.
resolvedAt?: string; // date-time
// The incident's stage.
stage: "investigating" | "identified" | "monitoring" | "resolved";
// When it started, in UTC.
startedAt: string; // date-time
// The incident's title, one text per locale.
title: { [key in "ar" | "en"]?: string };
// Every update, newest first.
updates: {
// When it was posted, in UTC.
at: string; // date-time
// What it says, one text per locale.
message: { [key in "ar" | "en"]?: string };
// The stage it moved the incident to.
stage: "investigating" | "identified" | "monitoring" | "resolved";
}[];
};
}Maintenance window
One maintenance window on a status page
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id | path | string | The status page's id: page.id in any of its view documents, or the last part of its address in the admin area, /admin/pages/<id>. |
windowId | path | string | The maintenance window's id, as the overview's windows, a day of a component's bar or a history entry gives it. |
Responses
| Status | Answer |
|---|---|
200 | The window's stage, times and text, and the page's components it affects. It carries the page's own content in each locale, images and customization and the install's clock and calendar, an ETag, and Cache-Control: public, max-age=0, must-revalidate. A HEAD gets no body. |
304 | The ETag the request holds is still the document's. |
404 | No such page, or no such window on a component the page shows. A page that is not published is not found, except to the signed-in operator, who gets its document with Cache-Control: no-store. While no database is open no page is found. Body: text/plain Not Found. |
503 | The database did not answer. Body: text/plain Service Unavailable. |
{
// The install's calendar, which visitors read dates in.
calendar: "gregorian" | "hijri" | "hijri_gregorian";
// The install's clock, 12-hour or 24-hour, which visitors read times in.
clock: "12h" | "24h";
// What the page shows of itself: its text, its images' URLs and its customization.
page: {
// The page's brand colour, `#rrggbb`; absent for the default.
brandColour?: string;
// The page's contact link, an https, http or mailto link; absent when it has none.
contactUrl?: string;
// The page's own CSS, added after its styles; absent when it has none.
customCss?: string;
// The page's description, one text per locale; absent when it has none.
description?: { [key in "ar" | "en"]?: string };
// The links in the page's footer, in order.
footerLinks: {
// The link's text, one text per locale.
label: { [key in "ar" | "en"]?: string };
// Where the link leads: an https, http or mailto link.
url: string;
}[];
// The status page's id.
id: string;
// The URLs of the page's images, each carrying the image's hash; an image the page lacks is absent.
images: {
// The cover image's URL.
cover?: string;
// The favicon's URL.
favicon?: string;
// The logo's URL.
logo?: string;
};
// The page's own name for a status level, one text per locale; a level with none shows Raaqeb's word.
labels: { [key in "operational" | "under_maintenance" | "degraded_performance" | "partial_outage" | "major_outage"]?: { [key in "ar" | "en"]?: string } };
// The page language: the language of its plain address.
locale: "ar" | "en";
// Whether the page asks search engines not to index it.
noindex: boolean;
// Whether the page shows its Powered by Raaqeb link.
poweredBy: boolean;
// The page's own colour for a status level, `#rrggbb`; a level with none has the default.
statusColours: { [key in "operational" | "under_maintenance" | "degraded_performance" | "partial_outage" | "major_outage"]?: string };
// The page's theme: the visitor's system setting, light or dark.
theme: "system" | "light" | "dark";
// The page's title, one text per locale.
title: { [key in "ar" | "en"]?: string };
};
// The install's time zone, an IANA name: the server's first paint writes times in it with its label; the browser then shows its own zone.
timeZone: string;
// The maintenance window the view shows.
window: {
// The page's components it affects, in the page's order.
components: {
// The component's id.
id: string;
// The component's name, one text per locale.
name: { [key in "ar" | "en"]?: string };
}[];
// When the window ends, in UTC.
endsAt: string; // date-time
// The maintenance window's id.
id: string;
// What the window is for, one text per locale.
message: { [key in "ar" | "en"]?: string };
// The window's stage: scheduled, in progress or completed.
stage: "scheduled" | "in_progress" | "completed";
// When the window starts, in UTC.
startsAt: string; // date-time
// The window's title, one text per locale.
title: { [key in "ar" | "en"]?: string };
};
}Images
A status page's image
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id | path | string | The status page's id: page.id in any of its view documents, or the last part of its address in the admin area, /admin/pages/<id>. |
kind | path | "logo" | "favicon" | "cover" | Which of the page's images: its logo, favicon or cover. |
v (optional) | query | string | The image's SHA-256 in hex, as the page's JSON document gives it; with it the answer is cached for a year, without it revalidated. |
Responses
| Status | Answer |
|---|---|
200 | The image, with its ETag and a sandbox Content-Security-Policy. A HEAD gets no body. Body: image/jpeg, image/png, image/svg+xml, image/webp, image/x-icon. |
304 | The browser holds the image the ETag names. |
404 | No such page, kind or image, or the page is not published and the request carries no operator session; the operator gets an unpublished page's image with Cache-Control: no-store. Body: text/plain Not Found. |
503 | The database is not open or did not answer. Body: text/plain Service Unavailable. |
Statuspage-compatible summary
Tools that read Atlassian Statuspage's summary read this one. At the bare path it is the page at that host: its custom domain, or the default page on the install's own host.
A status page's summary
Parameters
| Name | In | Type | Description |
|---|---|---|---|
slug | path | string | The status page's slug: the last part of its address /status/<slug>. |
Responses
| Status | Answer |
|---|---|
200 | The page in the shape of Statuspage's /api/v2/summary.json: its components in its order, a group before its members; its open incidents with their updates newest first; its maintenance windows in progress and scheduled; and status.indicator, the worse of the page's status level mapped (under maintenance to maintenance, degraded performance to minor, partial outage to major, major outage to critical) and the highest impact of its open incidents. Machine values only, one document for both locales. It carries an ETag and Cache-Control: public, max-age=0, must-revalidate. A HEAD gets no body. |
304 | The ETag the request holds is still the answer's. |
404 | No page at this address, or no such address for it, or the page is not published, or no database is open. Body: text/plain Not Found. |
503 | The database did not answer. Body: text/plain Service Unavailable. |
{
// The page's components in its order, a group before its members.
components: {
// A group's members, by id; only on a group.
components?: string[];
// When the component, or the page for a group, was created, in UTC.
created_at: string; // date-time
// The component's description; null when it has none, and on a group.
description: string | null;
// Whether this is a component group.
group: boolean;
// The group a component sits in on this page; null outside one.
group_id: string | null;
// The component's or the group's id.
id: string;
// The component's or the group's name.
name: string;
// Always false: the page shows every component it lists.
only_show_if_degraded: false;
// The status page's id.
page_id: string;
// Its place in the page's order, from 1; a group's members count from 1 inside it.
position: integer;
// True on a component, false on a group, as Statuspage marks them.
showcase: boolean;
// Always null: Raaqeb has no data for it.
start_date: null;
// The component's or the group's status level.
status: "operational" | "under_maintenance" | "degraded_performance" | "partial_outage" | "major_outage";
// When it last changed, in UTC.
updated_at: string; // date-time
}[];
// The open incidents on the page's components.
incidents: {
// The page's components it affects.
components: {
components?: string[];
created_at: string; // date-time
description: string | null;
group: boolean;
group_id: string | null;
id: string;
name: string;
only_show_if_degraded: false;
page_id: string;
position: integer;
showcase: boolean;
start_date: null;
status: "operational" | "under_maintenance" | "degraded_performance" | "partial_outage" | "major_outage";
updated_at: string; // date-time
}[];
// When it was opened, in UTC.
created_at: string; // date-time
// The incident's id.
id: string;
// The incident's impact level.
impact: "none" | "minor" | "major" | "critical";
// Its updates, newest first.
incident_updates: {
// The components the update set a status on, each with the one it held before.
affected_components: {
// The component's id.
code: string;
// The component's name.
name: string;
// The status level the update set on it.
new_status: "operational" | "under_maintenance" | "degraded_performance" | "partial_outage" | "major_outage";
// The status level it held before.
old_status: "operational" | "under_maintenance" | "degraded_performance" | "partial_outage" | "major_outage";
}[];
// What the update says.
body: string;
// When it was posted, in UTC.
created_at: string; // date-time
custom_tweet: null;
// Always true: subscribers are told of every update.
deliver_notifications: boolean;
display_at: string; // date-time
// The update's id.
id: string;
// The id of the incident it belongs to.
incident_id: string;
// The stage it moved the incident to.
status: "investigating" | "identified" | "monitoring" | "resolved";
tweet_id: null;
updated_at: string; // date-time
}[];
// When an update moved it to monitoring, in UTC; null if none did.
monitoring_at: string | null; // date-time
// The incident's title.
name: string;
page_id: string;
reminder_intervals: null;
// Null: the incident is open.
resolved_at: null;
// The incident's view on this page.
shortlink: string;
started_at: string; // date-time
// The incident's stage.
status: "investigating" | "identified" | "monitoring";
updated_at: string; // date-time
}[];
// The status page.
page: {
id: string;
// The page's title.
name: string;
// The page's plain address: absolute on the public address or its custom domain, a path when no public address is stored.
url: string;
// The install's time zone, an IANA name.
time_zone: string;
// The latest change to the page or to anything the summary lists, in UTC.
updated_at: string; // date-time
};
// The page's maintenance windows in progress and scheduled.
scheduled_maintenances: {
components: {
components?: string[];
created_at: string; // date-time
description: string | null;
group: boolean;
group_id: string | null;
id: string;
name: string;
only_show_if_degraded: false;
page_id: string;
position: integer;
showcase: boolean;
start_date: null;
status: "operational" | "under_maintenance" | "degraded_performance" | "partial_outage" | "major_outage";
updated_at: string; // date-time
}[];
// When the window was created, in UTC.
created_at: string; // date-time
// The maintenance window's id.
id: string;
// Always maintenance: Statuspage's impact for a maintenance.
impact: "maintenance";
// Always empty: a window has no updates.
incident_updates: {
affected_components: {
code: string;
name: string;
new_status: "operational" | "under_maintenance" | "degraded_performance" | "partial_outage" | "major_outage";
old_status: "operational" | "under_maintenance" | "degraded_performance" | "partial_outage" | "major_outage";
}[];
body: string;
created_at: string; // date-time
custom_tweet: null;
deliver_notifications: boolean;
display_at: string; // date-time
id: string;
incident_id: string;
status: "investigating" | "identified" | "monitoring" | "resolved";
tweet_id: null;
updated_at: string; // date-time
}[];
monitoring_at: null;
// The window's title.
name: string;
page_id: string;
// Null: the window has not ended.
resolved_at: null;
// When the window starts, in UTC.
scheduled_for: string; // date-time
// When the window ends, in UTC.
scheduled_until: string; // date-time
// The window's view on this page.
shortlink: string;
started_at: string; // date-time
// The window's stage: scheduled or in progress.
status: "scheduled" | "in_progress";
updated_at: string; // date-time
}[];
// The page's state as Statuspage gives it.
status: {
// Statuspage's sentence for the indicator, such as All Systems Operational.
description: string;
// How bad the page is, worst last: none, maintenance, minor, major or critical.
indicator: "none" | "maintenance" | "minor" | "major" | "critical";
};
}Badge
A status page's badge
Parameters
| Name | In | Type | Description |
|---|---|---|---|
locale | path | "ar" | "en" | The page's other language. Its own language is its plain address, with no prefix. |
slug | path | string | The status page's slug: the last part of its address /status/<slug>. |
Responses
| Status | Answer |
|---|---|
200 | An SVG badge: a dot in the colour of the page's status level and the level's name in the address's language, or the page's own name for it. Served under a sandbox Content-Security-Policy. It carries an ETag and Cache-Control: public, max-age=0, must-revalidate. A HEAD gets no body. Body: image/svg+xml. |
304 | The ETag the request holds is still the answer's. |
404 | No page at this address, or no such address for it, or the page is not published, or no database is open. Body: text/plain Not Found. |
503 | The database did not answer. Body: text/plain Service Unavailable. |
Feed
A status page's feed
Parameters
| Name | In | Type | Description |
|---|---|---|---|
locale | path | "ar" | "en" | The page's other language. Its own language is its plain address, with no prefix. |
slug | path | string | The status page's slug: the last part of its address /status/<slug>. |
Responses
| Status | Answer |
|---|---|
200 | An Atom feed of the page's incidents and maintenance windows, the 50 changed last, each linking to its view and holding its updates. Words in the address's language, and so is the incidents' and windows' own content where it is written in it, else the page language's. It carries an ETag and Cache-Control: public, max-age=0, must-revalidate. A HEAD gets no body. Body: application/atom+xml. |
304 | The ETag the request holds is still the answer's. |
404 | No page at this address, or no such address for it, or the page is not published, or no database is open. Body: text/plain Not Found. |
503 | The database did not answer. Body: text/plain Service Unavailable. |
Custom domain certificates
The question a reverse proxy asks before it issues a certificate for a host name on demand. See custom domains for the Caddy setup that asks it.
Check a custom domain
Whether a custom domain may have a certificate issued on demand by the reverse proxy, asked before each one as Caddy's on_demand_tls { ask … } asks it.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
domain | query | string | The host name the certificate is for; Caddy appends it as ?domain=. |
Responses
| Status | Answer |
|---|---|
200 | A published status page holds this custom domain, so it may have a certificate. A HEAD gets no body. Body: text/plain OK. |
404 | No published status page holds this domain, or the text names no domain. Body: text/plain Not Found. |
503 | The database is not open or did not answer. Body: text/plain Service Unavailable. |