v1

latestOpenAPI 3.0.02026-08-0650184174.6 KB
Maintenance

Returns a list of user's maintenance windows.

get/maintenance

Query parameters

limitinteger

Count of items to list.

offsetinteger

Offset of the list.

orderby'description' | 'from' | 'to' | 'effectiveto'

Order by the specific property of the maintenance window.

order'asc' | 'desc'

Order a-z for asc z-a for desc. Works only if orderby is specified.

Response

Successful HTTP Response

Example response

{
  "maintenance": [
    {
      "id": 1,
      "description": "Maintenance window from DB",
      "from": 1497520800,
      "to": 1497574800,
      "recurrencetype": "week",
      "effectiveto": 1497574800,
      "checks": {
        "uptime": [
          506206,
          506233,
          222
        ],
        "tms": [
          123,
          111
        ]
      }
    }
  ]
}