get_file_metadata/batch

POST https://api.dropboxapi.com/2/sharing/get_file_metadata/batch

getfilemetadata/batch

scope: sharing.read

Returns shared file metadata.

Request Body

{"files"=>["id:3kmLmQFnf1AAAAAAAAAAAw", "id:VvTaJu2VZzAAAAAAAAAADQ"], "actions"=>[]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Dropbox-API-Path-Rootstring
Dropbox-API-Select-Userstring

RESPONSES

status: OK

[{"file":"id:3kmLmQFnf1AAAAAAAAAAAw","result":{".tag":"metadata","id":"id:3kmLmQFnf1AAAAAAAAAAAw","name":"file.txt","policy":{"acl_update_policy":{".tag":"owner"},"shared_link_policy":{".tag":"anyone"},"member_policy":{".tag":"anyone"},"resolved_member_policy":{".tag":"team"}},"preview_url":"https://www.dropbox.com/scl/fi/fir9vjelf","access_type":{".tag":"viewer"},"owner_display_names":["Jane Doe"],"owner_team":{"id":"dbtid:AAFdgehTzw7WlXhZJsbGCLePe8RvQGYDr-I","name":"Acme, Inc."},"path_display":"/dir/file.txt","path_lower":"/dir/file.txt","permissions":[],"time_invited":"2016-01-20T00:00:00Z"}}]