Liking cljdoc? Tell your friends :D

cral.api.core.downloads


create-downloadclj

(create-download ticket body)
(create-download ticket body query-params & [opts])

Creates a new download node asynchronously, the content of which will be the zipped content of the node-ids specified in the body like this:

(model/->CreateDownloadBody ["514ddb33-c5ae-4f7f-a3b2-7ec529f57d54" "24c440c8-e015-4879-aeb3-ac3d03dd1440"])

More info here.

Creates a new download node asynchronously, the content of which will be the zipped content of the **node-ids** specified in the `body` like this:
```clojure
(model/->CreateDownloadBody ["514ddb33-c5ae-4f7f-a3b2-7ec529f57d54" "24c440c8-e015-4879-aeb3-ac3d03dd1440"])
```
More info [here](https://api-explorer.alfresco.com/api-explorer/?urls.primaryName=Core%20API#/downloads/createDownload).
sourceraw docstring

delete-downloadclj

(delete-download ticket download-id & [opts])

Cancels the creation of a download request.
Note: The download node can be deleted using nodes/delete-node.
By default, if the download node is not deleted it will be picked up by a cleaner job which removes download nodes older than a configurable amount of time (default is 1 hour). Information about the existing progress at the time of cancelling can be retrieved by calling the get-download function. The cancel operation is done asynchronously.
More info here.

Cancels the creation of a download request.\
**Note:** The download node can be deleted using [[nodes/delete-node]].\
By default, if the download node is not deleted it will be picked up by a cleaner job which removes download nodes older than a configurable amount of time (default is 1 hour).
Information about the existing progress at the time of cancelling can be retrieved by calling the [[get-download]] function.
The cancel operation is done asynchronously.\
More info [here](https://api-explorer.alfresco.com/api-explorer/?urls.primaryName=Core%20API#/downloads/cancelDownload).
sourceraw docstring

get-downloadclj

(get-download ticket download-id)
(get-download ticket download-id query-params & [opts])

Retrieve status information for download node download-id.
More info here.

Retrieve status information for download node `download-id`.\
More info [here](https://api-explorer.alfresco.com/api-explorer/?urls.primaryName=Core%20API#/downloads/getDownload).
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close