{
  "opencollection": "1.0.0",
  "info": {
    "name": "Datadog Account Attachments API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "DD-API-KEY",
      "value": "{{DD-API-KEY}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Attachments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Datadog Get a List of Attachments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{subdomain}.{site}/api/v2/incidents/:incident_id/attachments",
            "params": [
              {
                "name": "incident_id",
                "value": "",
                "type": "path",
                "description": "The UUID of the incident."
              },
              {
                "name": "include",
                "value": "",
                "type": "query",
                "description": "Specifies which types of related objects are included in the response."
              },
              {
                "name": "filter[attachment_type]",
                "value": "",
                "type": "query",
                "description": "Specifies which types of attachments are included in the response."
              }
            ]
          },
          "docs": "Get all attachments for a given incident."
        },
        {
          "info": {
            "name": "Datadog Create, Update, and Delete Incident Attachments",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://{subdomain}.{site}/api/v2/incidents/:incident_id/attachments",
            "params": [
              {
                "name": "incident_id",
                "value": "",
                "type": "path",
                "description": "The UUID of the incident."
              },
              {
                "name": "include",
                "value": "",
                "type": "query",
                "description": "Specifies which types of related objects are included in the response."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "The bulk update endpoint for creating, updating, and deleting attachments for a given incident."
        }
      ]
    }
  ],
  "bundled": true
}