File
RequiredTextChoose a file or type its absolute Dropbox path.
This input offers a picker for file from your connected account. You can also supply its value directly.
/Homework/report.pdf
Previous versions of a file, without restoring or changing it.
First, connect Dropbox in Services. Then open Actions → + → Dropbox and choose List File Revisions.
Returns one page. To read older revisions, supply the last entry's rev as Before revision. Revisions follow the file path, rather than moves and renames.
Open an input to choose its value. Keep a fixed value with Text, receive it from Shortcuts, ask when the action runs, or use an Earlier Step. Read how input sources work.
Choose a file or type its absolute Dropbox path.
This input offers a picker for file from your connected account. You can also supply its value directly.
/Homework/report.pdf
Supply a whole number value for this input.
Default: 10
10
The last revision from a previous page.
a1c10ce0dd78
In the action editor, open Output → Returned Value to choose fields for your shortcut. These are the response fields described by the app; a service may omit an optional field or return an empty list. JSON File contains the full response.
| Returned field | Type | Meaning |
|---|---|---|
entries | array | A list of values. |
entries[].name | string | Text value. |
entries[].id | string | Text value. |
entries[].path_display | string | Text value. |
entries[].path_lower | string | Text value. |
entries[].size | integer | File size in bytes; absent for folders. |
entries[].rev | string | Text value. |
entries[].server_modified | string | Text value. |
entries[].client_modified | string | Text value. |
entries[].is_downloadable | boolean | True or false. |
entries[].content_hash | string | Text value. |
has_more | boolean | True or false. |
is_deleted | boolean | True or false. |
If the result is unexpected, open Logs in Shortcutify, select the run, and inspect this step’s inputs and response.
Request: POST https://api.dropboxapi.com/2/files/list_revisions
Action identifier: dropbox.revisions.list.v1
Permissions declared for this action: files.metadata.read. The account’s own access rules also apply.
| Input | Request key | Location |
|---|---|---|
| File | path | body |
| Revision count | limit | body |
| Before revision | before_rev | body |