Liking cljdoc? Tell your friends :D

cral.api.core.renditions


create-renditionclj

(create-rendition ticket node-id body & [opts])

An asynchronous request to create a rendition for file node-id. The rendition is specified by name id in the request body:

{
  "id": "doclib"
}

Multiple names may be specified as a comma separated list or using a list format:

[
  {
    "id": "doclib"
  },
  {
   "id": "avatar"
  }
]

More info here.

An asynchronous request to create a rendition for file `node-id`.
The rendition is specified by name **id** in the request body:
```json
{
  "id": "doclib"
}
```
Multiple names may be specified as a comma separated list or using a list format:
```json
[
  {
    "id": "doclib"
  },
  {
   "id": "avatar"
  }
]
```
More info [here](https://api-explorer.alfresco.com/api-explorer/?urls.primaryName=Core%20API#/renditions/createRendition).
sourceraw docstring

delete-renditionclj

(delete-rendition ticket node-id rendition-id & [opts])

Delete the rendition identified by rendition-id of node-id. If the rendition is successfully deleted then the content for that rendition node will be cleared.
More info here.

Delete the rendition identified by `rendition-id` of `node-id`.
If the rendition is successfully deleted then the content for that rendition node will be cleared.\
More info [here](https://api-explorer.alfresco.com/api-explorer/?urls.primaryName=Core%20API#/renditions).
sourceraw docstring

get-rendition-contentclj

(get-rendition-content ticket node-id rendition-id)
(get-rendition-content ticket node-id rendition-id query-params & [opts])

Gets the rendition content for rendition-id of file node-id.
More info here.

Gets the rendition content for `rendition-id` of file `node-id`.\
More info [here](https://api-explorer.alfresco.com/api-explorer/?urls.primaryName=Core%20API#/renditions/getRenditionContent).
sourceraw docstring

get-rendition-infoclj

(get-rendition-info ticket node-id rendition-id & [opts])

Gets the rendition information for rendition-id of file node-id.
More info here.

Gets the rendition information for `rendition-id` of file `node-id`.\
More info [here](https://api-explorer.alfresco.com/api-explorer/?urls.primaryName=Core%20API#/renditions/getRendition).
sourceraw docstring

list-renditionsclj

(list-renditions ticket node-id)
(list-renditions ticket node-id query-params & [opts])

Gets a list of the rendition information for each rendition of the the file node-id, including the rendition id. Each rendition returned has a status: CREATED means it is available to view or download, NOT_CREATED means the rendition can be requested. You can use the where parameter in query-params to filter the returned renditions by status. For example, the following where clause will return just the CREATED renditions:

(status='CREATED')

More info here.

Gets a list of the rendition information for each rendition of the the file `node-id`, including the rendition id.
Each rendition returned has a **status**: CREATED means it is available to view or download, NOT_CREATED means the
rendition can be requested.
You can use the **where** parameter in `query-params` to filter the returned renditions by status. For example, the
following **where** clause will return just the CREATED renditions:
```
(status='CREATED')
```
More info [here](https://api-explorer.alfresco.com/api-explorer/?urls.primaryName=Core%20API#/renditions/listRenditions).
sourceraw docstring

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

× close