Skip to content

List maintenance windows

GET
/organizations/{org_id}/maintenance-windows
curl --request GET \
--url https://api.perstat.io/organizations/example/maintenance-windows \
--header 'Authorization: Bearer <token>'

Returns all maintenance windows of the organization with title, body, schedule, cancellation state, public visibility, and the affected monitors. Timestamps are Unix seconds UTC. Requires membership.

org_id
required
string
Media typeapplication/json
Array<object>
object
body
required
string
cancelled
required
boolean
id
required

Fenster-public_id.

string
monitors
required
Array<object>
object
id
required

Monitor-public_id.

string
name
required
string
public_visible
required

Erscheint das Fenster auf den Status-Seiten? (Alarm-Unterdrückung und SLA-Ausschluss gelten unabhängig davon.)

boolean
scheduled_end
required
integer format: int64
scheduled_start
required

Unix-Sekunden (UTC).

integer format: int64
title
required
string
Examplegenerated
[
{
"body": "example",
"cancelled": true,
"id": "example",
"monitors": [
{
"id": "example",
"name": "example"
}
],
"public_visible": true,
"scheduled_end": 1,
"scheduled_start": 1,
"title": "example"
}
]