GetMetadata
Get metadata for a file or folder from Dropbox.
type: "io.kestra.plugin.dropbox.files.GetMetadata"Examples
Get the metadata for a file or folder.
id: dropbox_get_metadata
namespace: company.team
tasks:
- id: get_file_metadata
type: io.kestra.plugin.dropbox.files.GetMetadata
accessToken: "{{ secrets.DROPBOX_ACCESS_TOKEN }}"
path: "/kestra_uploads/my_file.txt"
Properties
accessToken *Requiredstring
Dropbox access token.
path *RequiredNon-dynamicobject
The path of the file or folder to get metadata for.
Can be a direct path as a string, or a Kestra internal storage URI (kestra://...) of a file containing the path.
includeMediaInfo booleanstring
falseIf true, media info will be in the response.
Outputs
file DropboxFile
The metadata of the file or folder.
Definitions
io.kestra.plugin.dropbox.models.DropboxFile
clientModified string
date-timeThe last time the file was modified on Dropbox.
id string
The unique ID of the file or folder.
name string
The file or folder name.
path string
The lower-case version of the path for display.
size integer
The file size in bytes.
Null for folders.
type string
The type of the entry.
Can be 'file' or 'folder'.