{
  "opencollection": "1.0.0",
  "info": {
    "name": "Confluence Cloud REST API v2 Attachment API",
    "version": "2.0.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Attachment",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Attachment by Id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{domain}.atlassian.net/wiki/api/v2/attachments/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the content."
              }
            ]
          },
          "docs": "Returns a specific attachment by id."
        },
        {
          "info": {
            "name": "Delete Attachment",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{domain}.atlassian.net/wiki/api/v2/attachments/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the content."
              }
            ]
          },
          "docs": "Deletes an attachment by id."
        },
        {
          "info": {
            "name": "Get Attachments for Page",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{domain}.atlassian.net/wiki/api/v2/pages/:id/attachments",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the content."
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "Used for pagination. The cursor value is returned in the response _links.next when there are more results."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of results to return."
              }
            ]
          },
          "docs": "Returns the attachments of a specific page."
        }
      ]
    }
  ],
  "bundled": true
}