Dropbox API - File & Folder Listing
OpenAPI spec including file requests, files/folders listing, and file download endpoints.
Methods
Each method below is pulled directly from the OpenAPI file.
/2/file_requests/listlistFileRequestsReturns a list of file requests owned by this user.
Request body
Responses
List of file requests
Unexpected error
/2/files/downloaddownloadFileDownload the raw contents of a file (binary or text). Returns file data in the HTTP response body, not JSON.
Parameters
A JSON-encoded object with a 'path' property specifying the file to download (e.g. {"path": "/my-folder/file.txt"})
Responses
Raw contents of the specified file returned in the response body.
Unexpected error
/2/files/list_folderlistFilesAndFoldersReturns the contents of a folder. Includes both files and subfolders.
Request body
Responses
Folder listing result
Unexpected error
/2/files/list_folder/continuelistFilesAndFoldersContinueRetrieve more results if the previous response indicated `has_more`.
Request body
Responses
Next set of folder listing results
Unexpected error
YAML
Copy and paste the full spec from the textarea below.