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. Accepts API keys with the status-pages:write scope, subject to current role and resource grants.
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”Resource created. The response body contains the created resource.
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"}The request is invalid. Check the supplied fields and values.
Authentication is missing or invalid.
Tarif-Limit für Status-Seiten erreicht
The authenticated caller does not have permission to perform this operation.
Slug bereits vergeben