Create a status page
const url = 'https://api.perstat.io/organizations/example/status-pages';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"name":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.perstat.io/organizations/example/status-pages \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "example" }'Creates a status page with the given name; the URL slug is derived server-side. Returns 201 with the created page, 402 when the plan’s status page limit is reached, and 409 when the slug is already taken. Requires project management rights.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Request Bodyrequired
Section titled “Request Bodyrequired”object
Examplegenerated
{ "name": "example"}Responses
Section titled “Responses”object
Gruppen-Namen, die auf der publizierten Seite standardmäßig eingeklappt sind.
Header-Navigation (Label + URL).
Ein Navigationselement der Header-Bar.
object
Per-Seite-Schalter „Perstat-Branding ausblenden“. Wirksam nur zusammen
mit der Tarif-Cap monitor.white_label (siehe white_label_available
im Detail-DTO); ohne Cap bleibt der gespeicherte Wert wirkungslos.
Privat: publizierte Seite hinter Viewer-Login (orthogonal zu public_viewable).
Gemeinsames Kennwort: EIN geteiltes Passwort schaltet die ganze Seite frei
(orthogonal zu public_viewable, mutually-exclusive zu password_protected).
Ob ein geteiltes Kennwort GESETZT ist (Hash vorhanden). Niemals das Klartext — nur dieser bool, damit der Editor „gesetzt/leer“ anzeigen kann.
Examplegenerated
{ "collapsed_groups": [ "example" ], "description": "example", "enabled": true, "header_nav": [ { "href": "example", "label": "example" } ], "headline": "example", "hide_datargo_brand": true, "id": "example", "name": "example", "organization_id": "example", "password_protected": true, "public_viewable": true, "shared_password_protected": true, "shared_password_set": true, "slug": "example"}Tarif-Limit für Status-Seiten erreicht
Slug bereits vergeben