File or folder
RequiredTextAn absolute Dropbox path or id: identifier. Root-folder metadata is unsupported.
This input offers a picker for file or folder from your connected account. You can also supply its value directly.
/Homework/report.pdf
Name, path, size and revision of a file or folder.
First, connect Dropbox in Services. Then open Actions → + → Dropbox and choose Get File or Folder Details.
The root folder has no metadata. Choose a file or folder by searching, or supply its path or id: identifier.
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.
An absolute Dropbox path or id: identifier. Root-folder metadata is unsupported.
This input offers a picker for file or folder from your connected account. You can also supply its value directly.
/Homework/report.pdf
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 |
|---|---|---|
name | string | Text value. |
id | string | Text value. |
path_display | string | Text value. |
path_lower | string | Text value. |
size | integer | File size in bytes; absent for folders. |
rev | string | Text value. |
server_modified | string | Text value. |
client_modified | string | Text value. |
is_downloadable | boolean | True or false. |
content_hash | string | Text value. |
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/get_metadata
Action identifier: dropbox.metadata.get.v1
Permissions declared for this action: files.metadata.read. The account’s own access rules also apply.
| Input | Request key | Location |
|---|---|---|
| File or folder | path | body |