{
  "opencollection": "1.0.0",
  "info": {
    "name": "Rootly Alerts Incidents API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Incidents",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List incidents",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.rootly.com/v1/incidents",
            "params": [
              {
                "name": "page[number]",
                "value": "",
                "type": "query",
                "description": "Page number for pagination"
              },
              {
                "name": "page[size]",
                "value": "",
                "type": "query",
                "description": "Number of items per page"
              }
            ]
          },
          "docs": "List incidents"
        },
        {
          "info": {
            "name": "Create incident",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.rootly.com/v1/incidents",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create incident"
        },
        {
          "info": {
            "name": "Get incident",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.rootly.com/v1/incidents/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Resource identifier"
              }
            ]
          },
          "docs": "Get incident"
        },
        {
          "info": {
            "name": "Update incident",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.rootly.com/v1/incidents/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Resource identifier"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update incident"
        },
        {
          "info": {
            "name": "Delete incident",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.rootly.com/v1/incidents/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Resource identifier"
              }
            ]
          },
          "docs": "Delete incident"
        },
        {
          "info": {
            "name": "Mitigate incident",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.rootly.com/v1/incidents/:id/mitigate",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Resource identifier"
              }
            ]
          },
          "docs": "Mitigate incident"
        },
        {
          "info": {
            "name": "Resolve incident",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.rootly.com/v1/incidents/:id/resolve",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Resource identifier"
              }
            ]
          },
          "docs": "Resolve incident"
        }
      ]
    }
  ],
  "bundled": true
}