feat: Export collection as direct download instead of emailing (#1001)

* feat: Export collection as zip instead of emailing

* Flow typing download.js
This commit is contained in:
Tom Moor
2019-07-29 22:35:34 -07:00
committed by GitHub
parent c9b86ec2e7
commit 92a18159b5
8 changed files with 192 additions and 17 deletions

View File

@ -125,7 +125,7 @@ export default function Api() {
<Arguments pagination />
</Method>
<Method method="collections.info" label="Get a document collection">
<Method method="collections.info" label="Get a collection">
<Description>
Returns detailed information on a document collection.
</Description>
@ -148,6 +148,17 @@ export default function Api() {
</Arguments>
</Method>
<Method method="collections.export" label="Export a collection">
<Description>
Returns a zip file of all the collections documents in markdown
format. If documents are nested then they will be nested in
folders inside the zip file.
</Description>
<Arguments>
<Argument id="id" description="Collection id" required />
</Arguments>
</Method>
<Method method="collections.update" label="Update a collection">
<Description>
This method allows you to modify an already created collection.