Contributed by @dshen
This pattern contains 3 separate segments that demonstrate how to use the REST API to:
- list folder contents
- download a file from Dropbox
- upload a file to Dropbox
Source: Dropbox Files
Target: Dropbox Files
Snaps used: JSON Generator, REST Post, JSON Splitter, Mapper, Document to Binary, CSV Parser
Supply a Dropbox Bearer Token in the pipeline parameters.
To list the contents of a folder, supply the Dropbox file path and other parameters in the JSON Generator so it can be passed to Dropbox as the request payload.
For uploading a file to Dropbox, this pipeline assumes the file was uploaded to SnapLogic.