Skip to main content

Get Folder Or File Metadata

get_metadata

scope: files.metadata.read

Returns the metadata for a file or folder. Note: Metadata for the root folder is unsupported.

Basic Parameters

ParameterDescription
Include DeletedIf true, DeletedMetadata will be returned for deleted file or folder, otherwise LookupError.not_found will be returned. The default for this field is False.
Include Has Explicit Shared MembersIf true, the results will include a flag for each file indicating whether or not that file has any explicit members. The default for this field is False.
Include Media InfoIf true, FileMetadata.media_info is set for photo and video. The default for this field is False.
PathThe path of a file or folder on Dropbox.

Advanced Parameters

ParameterDescription
Dropbox API Path Root-
Dropbox API Select Admin-
Dropbox API Select User-

Example Output

{
"value": {
".tag": "file",
"client_modified": "2015-05-12T15:50:38Z",
"content_hash": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"file_lock_info": {
"created": "2015-05-12T15:50:38Z",
"is_lockholder": true,
"lockholder_name": "Imaginary User"
},
"has_explicit_shared_members": false,
"id": "id:a4ayc_80_OEAAAAAAAAAXw",
"is_downloadable": true,
"name": "Prime_Numbers.txt",
"path_display": "/Homework/math/Prime_Numbers.txt",
"path_lower": "/homework/math/prime_numbers.txt",
"property_groups": [
{
"fields": [
{
"name": "Security Policy",
"value": "Confidential"
}
],
"template_id": "ptid:1a5n2i6d3OYEAAAAAAAAAYa"
}
],
"rev": "a1c10ce0dd78",
"server_modified": "2015-05-12T15:50:38Z",
"sharing_info": {
"modified_by": "dbid:AAH4f99T0taONIb-OurWxbNQ6ywGRopQngc",
"parent_shared_folder_id": "84528192421",
"read_only": true
},
"size": 7212
}
}

Workflow Library Example

Get Folder or File Metadata with Dropbox and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop