POST /2/files/list_revisions
list_revisions
scope: files.metadata.read
Returns revisions for files based on a file path or a file id. The file path or file id is identified from the latest file entry at the given file path or id. This end point allows your app to query either by file path or file id by setting the mode parameter appropriately.
In the ListRevisionsMode.path
(default) mode, all revisions at the same file path as the latest file entry are returned. If revisions with the same file id are desired, then mode must be set to ListRevisionsMode.id
. The ListRevisionsMode.id
mode is useful to retrieve revisions for a given file across moves or renames.
Servers
- https://api.dropboxapi.com
- https://content.dropboxapi.com
- https://notify.dropboxapi.com
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
dropbox-api-path-root |
String | No | |
dropbox-api-select-user |
String | No | |
dropbox-api-select-admin |
String | No |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
limit |
Number | No | |
mode |
String | No | |
path |
String | No |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.