{
  "opencollection": "1.0.0",
  "info": {
    "name": "Caspio REST Applications Files API",
    "version": "3.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Files",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List files in the account file structure",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{account}.caspio.com/rest/v3/files",
            "params": [
              {
                "name": "filePath",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List files in the account file structure"
        },
        {
          "info": {
            "name": "Upload a file to the account file structure",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{account}.caspio.com/rest/v3/files",
            "body": {
              "type": "multipart-form",
              "data": [
                {
                  "name": "File",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Upload a file to the account file structure"
        },
        {
          "info": {
            "name": "Download a file by its external key",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{account}.caspio.com/rest/v3/files/:externalKey",
            "params": [
              {
                "name": "externalKey",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Download a file by its external key"
        },
        {
          "info": {
            "name": "Delete a file",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{account}.caspio.com/rest/v3/files/:externalKey",
            "params": [
              {
                "name": "externalKey",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete a file"
        }
      ]
    }
  ],
  "bundled": true
}