Liking cljdoc? Tell your friends :D

cral.api.core.actions


execute-actionclj

(execute-action ticket body & [opts])

Executes an action. An action may be executed against a node specified by target-id. For example:

{
  "action-definition-id": "copy",
  "target-id": "4c4b3c43-f18b-43ff-af84-751f16f1ddfd",
  "params": {
    "destination-folder": "34219f79-66fa-4ebf-b371-118598af898c"
  }
}

Performing a POST with the request body shown above will result in the node identified by target-id being copied to the destination folder specified in the params object by the key destination-folder.
More info here.

Executes an action.
An action may be executed against a node specified by **target-id**. For example:
```json
{
  "action-definition-id": "copy",
  "target-id": "4c4b3c43-f18b-43ff-af84-751f16f1ddfd",
  "params": {
    "destination-folder": "34219f79-66fa-4ebf-b371-118598af898c"
  }
}
```
Performing a POST with the request body shown above will result in the node identified by **target-id** being copied
to the destination folder specified in the **params** object by the key **destination-folder**.\
More info [here](https://api-explorer.alfresco.com/api-explorer/?urls.primaryName=Core%20API#/actions/actionExec).
sourceraw docstring

get-action-definition-detailsclj

(get-action-definition-details ticket action-definition-id & [opts])

Retrieve the details of the action denoted by action-definition-id.
More info here.

Retrieve the details of the action denoted by `action-definition-id`.\
More info [here](https://api-explorer.alfresco.com/api-explorer/?urls.primaryName=Core%20API#/actions/actionDetails).
sourceraw docstring

list-available-actionsclj

(list-available-actions ticket)
(list-available-actions ticket query-params & [opts])

Gets a list of all available actions. The default sort order for the returned list is for actions to be sorted by ascending name. You can override the default by using the order-by parameter in query-params. You can use any of the following fields to order the results:

  • name
  • title

More info here.

Gets a list of all available actions.
The default sort order for the returned list is for actions to be sorted by ascending name.
You can override the default by using the **order-by** parameter in `query-params`.
You can use any of the following fields to order the results:
- name
- title


More info [here](https://api-explorer.alfresco.com/api-explorer/?urls.primaryName=Core%20API#/actions/listActions).
sourceraw docstring

list-node-actionsclj

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

Retrieve the list of actions that may be executed against the given node-id. The default sort order for the returned list is for actions to be sorted by ascending name. You can override the default by using the order-by parameter in query-params. You can use any of the following fields to order the results:

  • name
  • title

More info here.

Retrieve the list of actions that may be executed against the given `node-id`.
The default sort order for the returned list is for actions to be sorted by ascending name.
You can override the default by using the **order-by** parameter in `query-params`.
You can use any of the following fields to order the results:
- name
- title


More info [here](https://api-explorer.alfresco.com/api-explorer/?urls.primaryName=Core%20API#/actions/nodeActions).
sourceraw docstring

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

× close