Mapping the outputs of the Activity
Create a map between the dropbox output parameters and the orchestration variables. The expected response is generated on a successful mapping.
Name |
Data type | Required | Description |
Chunkdetails → upload_id | string | Yes | The unique ID of the in-progress upload on the server. If left blank, the server will create a new upload session. |
Chunkdetails → offset | String | No | The byte offset of this chunk, relative to the beginning of the full file. The server will verify that this matches the offset it expects. If it does not, the server will return an error with the expected offset. |
Chunkdetails → expires | String | yes | Expiry time at which the chunked data might expire. This will be a quite a long time for user to commit the chunk data. |
revision | integer | No | A deprecated field that semi-uniquely identifies a file. Use rev instead. |
bytes | integer | yes | The file size in bytes. |
thumb_exists | boolean | yes | True if the file is an image that can be converted to a thumbnail via the /thumbnails call. |
rev | string | yes | A unique identifier for the current revision of a file. This field is the same rev as elsewhere in the API and can be used to detect changes and avoid conflicts. |
modified | string | yes | The last time the file was modified on Dropbox, in the standard date format (not included for the root folder). |
mime_type | string | yes | The response type for example “application/pdf” |
path | string | yes | Returns the canonical path to the file or folder. |
is_dir | boolean | yes | Whether the given entry is a folder or not. |
size | string | yes | A human-readable description of the file size (translated by locale). |
root | string | yes | The root or top-level folder depending on your access level. All paths returned are relative to this root level. Permitted values are either dropbox or app_folder. |
client_mtime | string | yes | For files, this is the modification time set by the desktop client when the file was added to Dropbox, in the standard date format. Since this time is not verified (the Dropbox server stores whatever the desktop client sends up), this should only be used for display purposes (such as sorting) and not, for example, to determine if a file has changed or not. |
icon | string | yes | The name of the icon used to illustrate the file type in Dropbox's icon library. |