{
  "opencollection": "1.0.0",
  "info": {
    "name": "Unified.to account storage API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "authorization",
      "value": "{{authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "storage",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List All Files",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.unified.to/storage/:connection_id/file",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query"
              },
              {
                "name": "updated_gte",
                "value": "",
                "type": "query",
                "description": "Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)"
              },
              {
                "name": "sort",
                "value": "",
                "type": "query"
              },
              {
                "name": "order",
                "value": "",
                "type": "query"
              },
              {
                "name": "query",
                "value": "",
                "type": "query",
                "description": "Query string to search. eg. email address or name"
              },
              {
                "name": "parent_id",
                "value": "",
                "type": "query",
                "description": "The parent ID to filter by"
              },
              {
                "name": "reference",
                "value": "",
                "type": "query",
                "description": "The referenced entity ID to filter by (e.g. linked accounting record for storage_file)"
              },
              {
                "name": "type",
                "value": "",
                "type": "query",
                "description": "The type to filter by"
              },
              {
                "name": "expand",
                "value": "",
                "type": "query",
                "description": "Whether to flatten grouped or recurring items into individual entries."
              },
              {
                "name": "fulltext",
                "value": "",
                "type": "query",
                "description": "The fulltext to filter by"
              },
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Fields to return"
              },
              {
                "name": "raw",
                "value": "",
                "type": "query",
                "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
              },
              {
                "name": "connection_id",
                "value": "",
                "type": "path",
                "description": "ID of the connection"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "List All Files"
        },
        {
          "info": {
            "name": "Create a File",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.unified.to/storage/:connection_id/file",
            "params": [
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Fields to return"
              },
              {
                "name": "raw",
                "value": "",
                "type": "query",
                "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
              },
              {
                "name": "connection_id",
                "value": "",
                "type": "path",
                "description": "ID of the connection"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Create a File"
        },
        {
          "info": {
            "name": "Retrieve a File",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.unified.to/storage/:connection_id/file/:id",
            "params": [
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Fields to return"
              },
              {
                "name": "raw",
                "value": "",
                "type": "query",
                "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
              },
              {
                "name": "connection_id",
                "value": "",
                "type": "path",
                "description": "ID of the connection"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the File"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Retrieve a File"
        },
        {
          "info": {
            "name": "Update a File",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.unified.to/storage/:connection_id/file/:id",
            "params": [
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Fields to return"
              },
              {
                "name": "raw",
                "value": "",
                "type": "query",
                "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
              },
              {
                "name": "connection_id",
                "value": "",
                "type": "path",
                "description": "ID of the connection"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the File"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Update a File"
        },
        {
          "info": {
            "name": "Update a File",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.unified.to/storage/:connection_id/file/:id",
            "params": [
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Fields to return"
              },
              {
                "name": "raw",
                "value": "",
                "type": "query",
                "description": "Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar"
              },
              {
                "name": "connection_id",
                "value": "",
                "type": "path",
                "description": "ID of the connection"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the File"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Update a File"
        },
        {
          "info": {
            "name": "Remove a File",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.unified.to/storage/:connection_id/file/:id",
            "params": [
              {
                "name": "connection_id",
                "value": "",
                "type": "path",
                "description": "ID of the connection"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the File"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "authorization",
              "value": "{{authorization}}",
              "placement": "header"
            }
          },
          "docs": "Remove a File"
        }
      ]
    }
  ],
  "bundled": true
}