v1

latestOpenAPI 3.0.02026-07-133916139.4 KB
maintenance

Create a maintenance

post/maintenance

Request body

titlestring required

The title of the maintenance

messagestring required

The message describing the maintenance

fromstring date nullable required

When the maintenance starts

tostring date nullable required

When the maintenance ends

monitorIdsnumber[]

IDs of affected monitors

pageIdnumber required

The id of the status page this maintenance belongs to

Example request

{
  "title": "Database Upgrade",
  "message": "Upgrading database to improve performance"
}

Response

Create a maintenance

idnumber required

The id of the maintenance

titlestring required

The title of the maintenance

messagestring required

The message describing the maintenance

fromstring date nullable required

When the maintenance starts

tostring date nullable required

When the maintenance ends

monitorIdsnumber[]

IDs of affected monitors

pageIdnumber required

The id of the status page this maintenance belongs to

Example response

{
  "id": 1,
  "title": "Database Upgrade",
  "message": "Upgrading database to improve performance"
}