feat: Allow export of collections as sync zip (#1013)

* feat: Allow export of collections as sync zip

* test: Add spec
This commit is contained in:
Tom Moor
2019-08-09 20:37:51 -07:00
committed by GitHub
parent d024d31f66
commit f87b561685
4 changed files with 49 additions and 42 deletions

View File

@ -169,6 +169,21 @@ export default function Api() {
</Arguments>
</Method>
<Method method="collections.exportAll" label="Export all collections">
<Description>
Returns a zip file of all the collections or creates an async job
to send a zip file via email to the authenticated user. If
documents are nested then they will be nested in folders inside
the zip file.
</Description>
<Arguments>
<Argument
id="download"
description="Download as zip (default is email)"
/>
</Arguments>
</Method>
<Method method="collections.update" label="Update a collection">
<Description>
This method allows you to modify an already created collection.