...
Wiki Markup |
---|
{div:class=confluenceTableSmall} || Object type || Description || | {{String}} | in case of single file upload, result of the upload operation, OK or KO | | {{Map<String, DropboxResultCode>}} | in case of multiple files upload, a map with as key the path of the remote file uploaded and as value the result of the upload operation, OK or KO | {div} |
Search operation
Search inside a remote Dropbox folder including its sub directories.
Works as Camel producer and as Camel consumer.
Below are listed the options for this operation:
Wiki Markup |
---|
{div:class=confluenceTableSmall}
|| Property || Mandatory || Description ||
| {{remotePath}} | {{true}} | Folder on Dropbox where to search in. |
| {{query}} | {{false}} | A space-separated list of substrings to search for. A file matches only if it contains all the substrings. If this option is not set, all files will be matched. |
{div} |
Samples
from("dropbox://search?accessToken=XXX&clientIdentifier=XXX&remotePath=/XXX&query=XXX").to("mock:result");
from("direct:start").to("dropbox://search?accessToken=XXX&clientIdentifier=XXX&remotePath=/XXX").to("mock:result");
Result Message Headers
The following headers are set on message result:
Wiki Markup |
---|
{div:class=confluenceTableSmall}
|| Property || Value ||
| {{FOUNDED_FILES}} | list of file path founded |
{div} |
Result Message Body
The following objects are set on message body result:
Wiki Markup |
---|
{div:class=confluenceTableSmall}
|| Object type || Description ||
| {{List<DbxEntry>}} | list of file path founded. For more information on this object refer to Dropbox documentation, http://dropbox.github.io/dropbox-sdk-java/api-docs/v1.7.x/com/dropbox/core/DbxEntry.html |
{div} |