{
  "opencollection": "1.0.0",
  "info": {
    "name": "Accounting subpackage_files API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "subpackage_files",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.merge.dev/api/filestorage/v1/files",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              },
              {
                "name": "X-Account-Token",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "created_after",
                "value": "",
                "type": "query",
                "description": "If provided, will only return objects created after this datetime."
              },
              {
                "name": "created_before",
                "value": "",
                "type": "query",
                "description": "If provided, will only return objects created before this datetime."
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "The pagination cursor value."
              },
              {
                "name": "drive_id",
                "value": "",
                "type": "query",
                "description": "Specifying a drive id returns only the files in that drive. Specifying null returns only the files outside the top-level drive."
              },
              {
                "name": "expand",
                "value": "",
                "type": "query",
                "description": "Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces."
              },
              {
                "name": "folder_id",
                "value": "",
                "type": "query",
                "description": "Specifying a folder id returns only the files in that folder. Specifying null returns only the files in root directory."
              },
              {
                "name": "include_deleted_data",
                "value": "",
                "type": "query",
                "description": "Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/)."
              },
              {
                "name": "include_remote_data",
                "value": "",
                "type": "query",
                "description": "Whether to include the original data Merge fetched from the third-party to produce these models."
              },
              {
                "name": "include_shell_data",
                "value": "",
                "type": "query",
                "description": "Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null)."
              },
              {
                "name": "mime_type",
                "value": "",
                "type": "query",
                "description": "If provided, will only return files with these mime_types. Multiple values can be separated by commas."
              },
              {
                "name": "modified_after",
                "value": "",
                "type": "query",
                "description": "If provided, only objects synced by Merge after this date time will be returned."
              },
              {
                "name": "modified_before",
                "value": "",
                "type": "query",
                "description": "If provided, only objects synced by Merge before this date time will be returned."
              },
              {
                "name": "name",
                "value": "",
                "type": "query",
                "description": "If provided, will only return files with this name. This performs an exact match."
              },
              {
                "name": "order_by",
                "value": "",
                "type": "query",
                "description": "Overrides the default ordering for this endpoint. Possible values include: created_at, -created_at, modified_at, -modified_at."
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "Number of results to return per page. The maximum limit is 100."
              },
              {
                "name": "remote_created_after",
                "value": "",
                "type": "query",
                "description": "If provided, will only return files created in the third party platform after this datetime."
              },
              {
                "name": "remote_created_before",
                "value": "",
                "type": "query",
                "description": "If provided, will only return files created in the third party platform before this datetime."
              },
              {
                "name": "remote_id",
                "value": "",
                "type": "query",
                "description": "The API provider's ID for the given object."
              }
            ]
          },
          "docs": "Returns a list of `File` objects.{/* BEGIN_FILESTORAGE_FILE_FETCH_SUPPORTED_FIELDS */}<Footer><MergeSupportedFieldsByIntegrationWidget requestType=\"GET\" data=\"H4sIAAAAAAAAA+2T207bQBCGX6Xay8ixG0KKsFRVCeGQqHEoGFSKkLVZT+xN9sTuOgcj3r2yY0jSckGlQC/aO+/szL+e+eZ/QARbSKReIh+NKQNjpcYJIAdxGQNDPjqhrDhiRQPMYTstmu0hB5lMKaktxCcUWGzONIyRjzwOOoF6JuiYQuxtVHlUWEg0tlQK4z1X18dlOXIQo2IKcZsQmQn7Cr1Vfh2vCn45Go9RY5GDFDbGplpmSXoB9xmY10gXf8eAg7CY1WNssbchU9crnZdiRR8xMLAQd7HFXbBAioarJ1NrlfE9LwWm3PJ5N4aZB8LD2lLCwHit5uHewWGrX"
        },
        {
          "info": {
            "name": "Create",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.merge.dev/api/filestorage/v1/files",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              },
              {
                "name": "X-Account-Token",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "is_debug_mode",
                "value": "",
                "type": "query",
                "description": "Whether to include debug fields (such as log file links) in the response."
              },
              {
                "name": "run_async",
                "value": "",
                "type": "query",
                "description": "Whether or not third-party updates should be run asynchronously."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a `File` object with the given values.{/* BEGIN_FILESTORAGE_FILE_CREATE_SUPPORTED_FIELDS */}<Footer><MergeSupportedFieldsByIntegrationWidget requestType=\"POST\" data=\"H4sIAAAAAAAAA91U227aQBD9lWofkbFLCI1iqaog5AIqJk2cqGkUWct6sBf2YnbXXBzl3ysbJ0BD2jxApfZtLzNnZs45u4+IYAORVAvkoiFloI1UOAJkIS5DYMhFZ5TlW5xQD3PYDAumB8hCOk0SqQyEZxRYqC8UDJGLHA4qgmoq6JBC6KxlOVQYiBQ2VArtvGRXh0U6shCjYgxhkxCZCvMOvGV8FS8Tftlqh1FtkIUSrLWJlUyj+AomKej3QOfdMeAgDGbVEBvsrMFU1RJn21k+RwgMDIRtbHAbDJB84LJkbEyiXceJgSV2Ud4OYeqAcLAylD"
        },
        {
          "info": {
            "name": "Retrieve",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.merge.dev/api/filestorage/v1/files/:id",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              },
              {
                "name": "X-Account-Token",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              },
              {
                "name": "expand",
                "value": "",
                "type": "query",
                "description": "Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces."
              },
              {
                "name": "include_remote_data",
                "value": "",
                "type": "query",
                "description": "Whether to include the original data Merge fetched from the third-party to produce these models."
              },
              {
                "name": "include_shell_data",
                "value": "",
                "type": "query",
                "description": "Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null)."
              }
            ]
          },
          "docs": "Returns a `File` object with the given `id`.{/* BEGIN_FILESTORAGE_FILE_FETCH_SUPPORTED_FIELDS */}<Footer><MergeSupportedFieldsByIntegrationWidget requestType=\"GET\" data=\"H4sIAAAAAAAAA+2T207bQBCGX6Xay8ixG0KKsFRVCeGQqHEoGFSKkLVZT+xN9sTuOgcj3r2yY0jSckGlQC/aO+/szL+e+eZ/QARbSKReIh+NKQNjpcYJIAdxGQNDPjqhrDhiRQPMYTstmu0hB5lMKaktxCcUWGzONIyRjzwOOoF6JuiYQuxtVHlUWEg0tlQK4z1X18dlOXIQo2IKcZsQmQn7Cr1Vfh2vCn45Go9RY5GDFDbGplpmSXoB9xmY10gXf8eAg7CY1WNssbchU9crnZdiRR8xMLAQd7HFXbBAioarJ1NrlfE9LwWm3PJ5N4aZB8LD2lLCwH"
        },
        {
          "info": {
            "name": "Download Retrieve",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.merge.dev/api/filestorage/v1/files/:id/download",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              },
              {
                "name": "X-Account-Token",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              },
              {
                "name": "include_shell_data",
                "value": "",
                "type": "query",
                "description": "Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null)."
              },
              {
                "name": "mime_type",
                "value": "",
                "type": "query",
                "description": "If provided, specifies the export format of the file to be downloaded. For information on supported export formats, please refer to our <a href='https://help.merge.dev/en/articles/8615316-file-export-and-download-specification' target='_blank'>export format help center article</a>."
              }
            ]
          },
          "docs": "Returns the `File` content with the given `id` as a stream of bytes.{/* BEGIN_FILESTORAGE_FILE_FETCH_SUPPORTED_FIELDS */}<Footer><MergeSupportedFieldsByIntegrationWidget requestType=\"GET\" data=\"H4sIAAAAAAAAA+2T207bQBCGX6Xay8ixG0KKsFRVCeGQqHEoGFSKkLVZT+xN9sTuOgcj3r2yY0jSckGlQC/aO+/szL+e+eZ/QARbSKReIh+NKQNjpcYJIAdxGQNDPjqhrDhiRQPMYTstmu0hB5lMKaktxCcUWGzONIyRjzwOOoF6JuiYQuxtVHlUWEg0tlQK4z1X18dlOXIQo2IKcZsQmQn7Cr1Vfh2vCn45Go9RY5GDFDbGplpmSXoB9xmY10gXf8eAg7CY1WNssbchU9crnZdiRR8xMLAQd7HFXbBAioarJ1Nrlf"
        },
        {
          "info": {
            "name": "Download Request Meta Retrieve",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.merge.dev/api/filestorage/v1/files/:id/download/request-meta",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              },
              {
                "name": "X-Account-Token",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              },
              {
                "name": "mime_type",
                "value": "",
                "type": "query",
                "description": "If provided, specifies the export format of the file to be downloaded."
              }
            ]
          },
          "docs": "Returns metadata to construct an authenticated file download request for a singular file, allowing you to download file directly from the third-party. For information on our download process please refer to our <a href='https://help.merge.dev/articles/10644317' target='_blank'>direct file download help center article</a>.{/* BEGIN_FILESTORAGE_FILE_FETCH_SUPPORTED_FIELDS */}<Footer><MergeSupportedFieldsByIntegrationWidget requestType=\"GET\" data=\"H4sIAAAAAAAAA+2T207bQBCGX6Xay8ixG0KKsFRVCeGQqHEoGFS"
        },
        {
          "info": {
            "name": "Download Request Meta List",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.merge.dev/api/filestorage/v1/files/download/request-meta",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              },
              {
                "name": "X-Account-Token",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "created_after",
                "value": "",
                "type": "query",
                "description": "If provided, will only return objects created after this datetime."
              },
              {
                "name": "created_before",
                "value": "",
                "type": "query",
                "description": "If provided, will only return objects created before this datetime."
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "The pagination cursor value."
              },
              {
                "name": "ids",
                "value": "",
                "type": "query",
                "description": "If provided, will only return objects with the given IDs. Comma-separated list of strings."
              },
              {
                "name": "include_deleted_data",
                "value": "",
                "type": "query",
                "description": "Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/)."
              },
              {
                "name": "mime_types",
                "value": "",
                "type": "query",
                "description": "A comma-separated list of preferred MIME types in order of priority. If supported by the third-party provider, the file(s) will be returned in the first supported MIME type from the list. The default MIME type is PDF. To see supported MIME types by file type, refer to our <a href='https://help.merge.dev/en/articles/8615316-file-export-and-download-specification' target='_blank'>export format help center article</a>."
              },
              {
                "name": "modified_after",
                "value": "",
                "type": "query",
                "description": "If provided, will only return objects modified after this datetime."
              },
              {
                "name": "modified_before",
                "value": "",
                "type": "query",
                "description": "If provided, will only return objects modified before this datetime."
              },
              {
                "name": "order_by",
                "value": "",
                "type": "query",
                "description": "Overrides the default ordering for this endpoint. Possible values include: created_at, -created_at, modified_at, -modified_at."
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "Number of results to return per page. The maximum limit is 100."
              }
            ]
          },
          "docs": "Returns metadata to construct authenticated file download requests, allowing you to download files directly from the third-party.{/* BEGIN_FILESTORAGE_FILE_FETCH_SUPPORTED_FIELDS */}<Footer><MergeSupportedFieldsByIntegrationWidget requestType=\"GET\" data=\"H4sIAAAAAAAAA+2T207bQBCGX6Xay8ixG0KKsFRVCeGQqHEoGFSKkLVZT+xN9sTuOgcj3r2yY0jSckGlQC/aO+/szL+e+eZ/QARbSKReIh+NKQNjpcYJIAdxGQNDPjqhrDhiRQPMYTstmu0hB5lMKaktxCcUWGzONIyRjzwOOoF6JuiYQuxtVHlUWEg0tlQK4z1X18dlOXIQo2IKcZsQmQn7Cr1Vfh2vCn45Go9RY5GDFDbGplpmS"
        },
        {
          "info": {
            "name": "Meta Post Retrieve",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.merge.dev/api/filestorage/v1/files/meta/post",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              },
              {
                "name": "X-Account-Token",
                "value": ""
              }
            ]
          },
          "docs": "Returns metadata for `FileStorageFile` POSTs.{/* BEGIN_FILESTORAGE_FILE_FETCH_SUPPORTED_FIELDS */}<Footer><MergeSupportedFieldsByIntegrationWidget requestType=\"GET\" data=\"H4sIAAAAAAAAA+2T207bQBCGX6Xay8ixG0KKsFRVCeGQqHEoGFSKkLVZT+xN9sTuOgcj3r2yY0jSckGlQC/aO+/szL+e+eZ/QARbSKReIh+NKQNjpcYJIAdxGQNDPjqhrDhiRQPMYTstmu0hB5lMKaktxCcUWGzONIyRjzwOOoF6JuiYQuxtVHlUWEg0tlQK4z1X18dlOXIQo2IKcZsQmQn7Cr1Vfh2vCn45Go9RY5GDFDbGplpmSXoB9xmY10gXf8eAg7CY1WNssbchU9crnZdiRR8xMLAQd7HFXbBAioarJ1NrlfE9LwWm3PJ5N4aZB8LD2lLCw"
        }
      ]
    }
  ],
  "bundled": true
}