Zimbra REST API Reference:Get Briefcase: Difference between revisions
(New page: << Back to Zimbra REST API Reference == REST API Method: Get Briefcase == Gets the items in the folder. === URL === <pre> http://localhost:7070/ho...) |
No edit summary |
||
Line 3: | Line 3: | ||
== REST API Method: Get Briefcase == | == REST API Method: Get Briefcase == | ||
Gets the items in the folder. | Gets the list of items in the briefcase folder. The default folder is "Briefcase" but user-defined folders are also supported. | ||
=== URL === | === URL === | ||
Line 14: | Line 14: | ||
<code>GET</code> | <code>GET</code> | ||
=== Formats === | === Formats === | ||
Line 31: | Line 19: | ||
<code>xml,json,rss,zip,tar,tgz</code> ([[ZCS_6.0:Zimbra_REST_API_Reference#Response_Formats|Go to Response Formats]]) | <code>xml,json,rss,zip,tar,tgz</code> ([[ZCS_6.0:Zimbra_REST_API_Reference#Response_Formats|Go to Response Formats]]) | ||
Note: When using the <code>zip,tar,tgz</code> formats, the | Note: When using the <code>zip,tar,tgz</code> formats, the items in the briefcase folder are packaged in the archive. | ||
=== Requires Authentication === | === Requires Authentication === | ||
Line 41: | Line 29: | ||
<ul> | <ul> | ||
<li><code>fmt</code>. Required. The response format.</li> | <li><code>fmt</code>. Required. The response format.</li> | ||
</ul> | </ul> | ||
=== Usage Examples === | === Usage Examples === | ||
Retrieve the | Retrieve the list of items in the "Briefcase" folder in JSON format: | ||
<pre> | <pre> | ||
http://localhost:7070/home/john.doe/ | http://localhost:7070/home/john.doe/Briefcase?fmt=json | ||
</pre> | </pre> | ||
Retrieve the | Retrieve the list of items in the "Briefcase" folder in XML format: | ||
<pre> | <pre> | ||
http://localhost:7070/home/john.doe/ | http://localhost:7070/home/john.doe/Briefcase?fmt=xml | ||
</pre> | </pre> | ||
Download all items in the "Briefcase" folder in a ZIP archive: | |||
<pre> | <pre> | ||
http://localhost:7070/home/john.doe/ | http://localhost:7070/home/john.doe/Briefcase?fmt=zip | ||
</pre> | </pre> | ||
Retrieve the user-defined folder " | Retrieve the user-defined folder "MyBriefcaseFolder", in JSON format: | ||
<pre> | <pre> | ||
http://localhost:7070/home/john.doe/ | http://localhost:7070/home/john.doe/MyBriefcaseFolder?fmt=zip | ||
</pre> | </pre> | ||
Revision as of 22:44, 20 January 2010
<< Back to Zimbra REST API Reference
REST API Method: Get Briefcase
Gets the list of items in the briefcase folder. The default folder is "Briefcase" but user-defined folders are also supported.
URL
http://localhost:7070/home/john.doe/Briefcase?{params}
HTTP Method
GET
Formats
xml,json,rss,zip,tar,tgz
(Go to Response Formats)
Note: When using the zip,tar,tgz
formats, the items in the briefcase folder are packaged in the archive.
Requires Authentication
true
(Go to Authentication)
Parameters
fmt
. Required. The response format.
Usage Examples
Retrieve the list of items in the "Briefcase" folder in JSON format:
http://localhost:7070/home/john.doe/Briefcase?fmt=json
Retrieve the list of items in the "Briefcase" folder in XML format:
http://localhost:7070/home/john.doe/Briefcase?fmt=xml
Download all items in the "Briefcase" folder in a ZIP archive:
http://localhost:7070/home/john.doe/Briefcase?fmt=zip
Retrieve the user-defined folder "MyBriefcaseFolder", in JSON format:
http://localhost:7070/home/john.doe/MyBriefcaseFolder?fmt=zip