{
  "opencollection": "1.0.0",
  "info": {
    "name": "ilert REST Alert Actions Maintenance Windows API",
    "version": "v2.2026.5-r.3"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Maintenance Windows",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List maintenance windows.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/maintenance-windows",
            "params": [
              {
                "name": "state",
                "value": "",
                "type": "query",
                "description": "Filter maintenance windows by state. `OPEN` includes upcoming and ongoing windows, `CLOSED` includes past windows."
              },
              {
                "name": "services",
                "value": "",
                "type": "query",
                "description": "filter by service IDs"
              },
              {
                "name": "sources",
                "value": "",
                "type": "query",
                "description": "filter by alert source IDs"
              },
              {
                "name": "from",
                "value": "",
                "type": "query",
                "description": "from date, ISO-UTC e.g. 2021-05-25T21:24:56.771Z"
              },
              {
                "name": "until",
                "value": "",
                "type": "query",
                "description": "until date, ISO-UTC e.g. 2021-05-26T21:24:56.771Z"
              },
              {
                "name": "start-index",
                "value": "",
                "type": "query",
                "description": "an integer specifying the starting point (beginning with 0) when paging through a list of entities"
              },
              {
                "name": "max-results",
                "value": "",
                "type": "query",
                "description": "the maximum number of results when paging through a list of entities."
              }
            ]
          },
          "docs": "List maintenance windows."
        },
        {
          "info": {
            "name": "Create a new maintenance window.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "/api/maintenance-windows",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new maintenance window."
        },
        {
          "info": {
            "name": "Get the maintenance window with specified id.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "/api/maintenance-windows/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "entity ID"
              }
            ]
          },
          "docs": "Get the maintenance window with specified id."
        },
        {
          "info": {
            "name": "Update an existing maintenance window.",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "/api/maintenance-windows/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "entity ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update an existing maintenance window."
        },
        {
          "info": {
            "name": "Delete the specified maintenance window.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "/api/maintenance-windows/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "entity ID"
              }
            ]
          },
          "docs": "Delete the specified maintenance window."
        }
      ]
    }
  ],
  "bundled": true
}