Get metadata for a file or folder from Dropbox.

yaml
type: "io.kestra.plugin.dropbox.files.GetMetadata"

Get the metadata for a file or folder.

yaml
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

Dropbox access token.

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.

Default false

If true, media info will be in the response.

The metadata of the file or folder.

Format date-time

The last time the file was modified on Dropbox.

The unique ID of the file or folder.

The file or folder name.

The lower-case version of the path for display.

The file size in bytes.

Null for folders.

The type of the entry.

Can be 'file' or 'folder'.