{
  "opencollection": "1.0.0",
  "info": {
    "name": "Outline AccessRequests Attachments API",
    "version": "0.1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Attachments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create an attachment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.getoutline.com/api/attachments.create",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creating an attachment object creates a database record and returns the inputs needed to generate a signed url and upload the file from the client to cloud storage."
        },
        {
          "info": {
            "name": "Retrieve an attachment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.getoutline.com/api/attachments.redirect",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Load an attachment from where it is stored based on the id. If the attachment is private then a temporary, signed url with embedded credentials is generated on demand."
        },
        {
          "info": {
            "name": "Delete an attachment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.getoutline.com/api/attachments.delete",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Deleting an attachment is permanent. It will not delete references or links to the attachment that may exist in your documents."
        }
      ]
    }
  ],
  "bundled": true
}