POST
/2/file_requests/list
listFileRequestsReturns a list of file requests owned by this user.
Request body
application/json
Responses
Status | Description |
---|---|
200 | List of file requests |
default | Unexpected error |
OpenAPI spec including file requests, files/folders listing, and file download endpoints.
/2/file_requests/list
listFileRequestsReturns a list of file requests owned by this user.
application/json
Status | Description |
---|---|
200 | List of file requests |
default | Unexpected error |
/2/files/download
downloadFileDownload the raw contents of a file (binary or text). Returns file data in the HTTP response body, not JSON.
Name | In | Required | Description |
---|---|---|---|
Dropbox-API-Arg | header | Yes | A JSON-encoded object with a 'path' property specifying the file to download (e.g. {"path": "/my-folder/file.txt"}) |
Status | Description |
---|---|
200 | Raw contents of the specified file returned in the response body. |
default | Unexpected error |
/2/files/list_folder
listFilesAndFoldersReturns the contents of a folder. Includes both files and subfolders.
application/json
Status | Description |
---|---|
200 | Folder listing result |
default | Unexpected error |
/2/files/list_folder/continue
listFilesAndFoldersContinueRetrieve more results if the previous response indicated `has_more`.
application/json
Status | Description |
---|---|
200 | Next set of folder listing results |
default | Unexpected error |