camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r915468 - in /websites/production/camel/content: cache/main.pageCache dropbox.html
Date Tue, 08 Jul 2014 11:18:15 GMT
Author: buildbot
Date: Tue Jul  8 11:18:15 2014
New Revision: 915468

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/dropbox.html

Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/camel/content/dropbox.html
==============================================================================
--- websites/production/camel/content/dropbox.html (original)
+++ websites/production/camel/content/dropbox.html Tue Jul  8 11:18:15 2014
@@ -101,12 +101,18 @@
 <table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"><p> Operation </p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p> Description </p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>del</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> deletes files or directories on
Dropbox</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>get</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
download files from Dropbox </p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>move</code>  </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> move files from folders on Dropbox
</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>
<code>put</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>
upload files on Dropbox </p></td></tr><tr><td colspan="1" rowspan="1"
class="confluenceTd"><p> <code>search</code>
   </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> search
files on Dropbox based on string queries </p></td></tr></tbody></table>
 </div><p><strong>Operations</strong> require additional options to
work, some are mandatory for the specific operation.</p><h3 id="Dropbox-Options">Options</h3><p>In
order to work with Dropbox API you need to obtain an&#160;<strong>accessToken</strong>
and a <strong>clientIdentifier</strong><br clear="none">You can refer to
the <a shape="rect" class="external-link" href="https://www.dropbox.com/developers/core/start/java"
rel="nofollow">Dropbox documentation</a> that expalins how to get them&#160;<span
style="line-height: 1.4285715;">&#160;</span></p><p>Below are listed
the mandatory options for all operations:</p><p>&#160;</p><div class="confluenceTableSmall">
 <table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"><p> Property </p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p> Mandatory </p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p> Description </p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>accessToken</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>true</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The
access token to make API requests for a specific Dropbox user </p></td></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>clientIdentifier</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>true</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Name
of the app registered to make API requests </p></td></tr></tbody></table>
-</div><h3 id="Dropbox-Deloperation">Del operation</h3><p>Delete files
on Dropbox.</p><p>Works only as Camel producer.</p><p>Below are listed
the mandatory options for this operation:</p><div class="confluenceTableSmall">
+</div><h3 id="Dropbox-Deloperation">Del operation</h3><p>Delete files
on Dropbox.</p><p>Works only as Camel producer.</p><p>Below are listed
the options for this operation:</p><div class="confluenceTableSmall">
 <table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"><p> Property </p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p> Mandatory </p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p> Description </p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>remotePath</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>true</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Folder
or file to delete on Dropbox </p></td></tr></tbody></table>
 </div><h4 id="Dropbox-Samples">Samples</h4><p>from("direct:start").to("dropbox://del?accessToken=XXX&amp;clientIdentifier=XXX&amp;remotePath=/root/folder1").to("mock:result");</p><p>from("direct:start").to("dropbox://del?accessToken=XXX&amp;clientIdentifier=XXX&amp;remotePath=/root/folder1/file1.tar.gz").to("mock:result");</p><h4
id="Dropbox-ResultMessageHeaders">Result Message Headers</h4><p>The following
headers are set on message result:</p><div class="confluenceTableSmall">
 <table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"><p> Property </p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p> Value </p></th></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p> <code>DELETED_PATH</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> name of the path deleted on dropbox
</p></td></tr></tbody></table>
 </div><h4 id="Dropbox-ResultMessageBody"><span style="line-height: 1.5;">Result
Message Body</span></h4><p>The following objects are set on message body
result:</p><div class="confluenceTableSmall">
 <table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"><p> Object type </p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p> Description </p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>String</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> name
of the path deleted on dropbox </p></td></tr></tbody></table>
+</div><h3 id="Dropbox-Get(download)operation">Get (download) operation</h3><p>Download
files from Dropbox.</p><p>Works as Camel producer or Camel consumer.</p><p>Below
are listed the options for this operation:</p><div class="confluenceTableSmall">
+<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"><p> Property </p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p> Mandatory </p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p> Description </p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>remotePath</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>true</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Folder
or file to download from Dropbox </p></td></tr></tbody></table>
+</div><h4 id="Dropbox-Samples.1">Samples</h4><p>from("direct:start").to("dropbox://get?accessToken=XXX&amp;clientIdentifier=XXX&amp;remotePath=/root/folder1/file1.tar.gz").to("file:///home/kermit/?fileName=file1.tar.gz");</p><p>from("direct:start").to("dropbox://get?accessToken=XXX&amp;clientIdentifier=XXX&amp;remotePath=/root/folder1").to("mock:result");</p><p>from("dropbox://get?accessToken=XXX&amp;clientIdentifier=XXX&amp;remotePath=/root/folder1").to("file:///home/kermit/");</p><h4
id="Dropbox-ResultMessageHeaders.1">Result Message Headers</h4><p>The following
headers are set on message result:</p><div class="confluenceTableSmall">
+<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"><p> Property </p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p> Value </p></th></tr><tr><td colspan="1"
rowspan="1" class="confluenceTd"><p> <code>DELETED_PATH</code> </p></td><td
colspan="1" rowspan="1" class="confluenceTd"><p> name of the path deleted on dropbox
</p></td></tr></tbody></table>
+</div><h4 id="Dropbox-ResultMessageBody.1"><span>Result Message Body</span></h4><p>The
following objects are set on message body result:</p><div class="confluenceTableSmall">
+<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1"
class="confluenceTh"><p> Object type </p></th><th colspan="1" rowspan="1"
class="confluenceTh"><p> Description </p></th></tr><tr><td
colspan="1" rowspan="1" class="confluenceTd"><p> <code>String</code>
</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> name
of the path deleted on dropbox </p></td></tr></tbody></table>
 </div></div>
         </td>
         <td valign="top">



Mime
View raw message