{
  "opencollection": "1.0.0",
  "info": {
    "name": "xMatters REST Devices Events API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Events",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve a list of events",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{company}.{deployment}.xmatters.com/api/xm/1/events"
          },
          "docs": "Retrieve a list of events"
        },
        {
          "info": {
            "name": "Trigger a new event",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{company}.{deployment}.xmatters.com/api/xm/1/events"
          },
          "docs": "Trigger a new event"
        },
        {
          "info": {
            "name": "Retrieve a specific event",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{company}.{deployment}.xmatters.com/api/xm/1/events/:eventId",
            "params": [
              {
                "name": "eventId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve a specific event"
        },
        {
          "info": {
            "name": "Change the status of an event",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{company}.{deployment}.xmatters.com/api/xm/1/events/:eventId",
            "params": [
              {
                "name": "eventId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Change the status of an event"
        },
        {
          "info": {
            "name": "Retrieve annotations on an event",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{company}.{deployment}.xmatters.com/api/xm/1/events/:eventId/annotations",
            "params": [
              {
                "name": "eventId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve annotations on an event"
        },
        {
          "info": {
            "name": "Add a comment to an event",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{company}.{deployment}.xmatters.com/api/xm/1/events/:eventId/annotations",
            "params": [
              {
                "name": "eventId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Add a comment to an event"
        }
      ]
    }
  ],
  "bundled": true
}