Skip to content

Commit

Permalink
get-parameter-constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
saidone75 committed Jun 29, 2024
1 parent 37e814e commit c6f796a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/cral/api/core/actions.clj
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,17 @@
{:query-params query-params}
opts)))

(defn get-parameter-constraint
"Gets action parameter constraint by requested name.\\
More info [here](https://api-explorer.alfresco.com/api-explorer/?urls.primaryName=Core%20API#/actions)."
[^Ticket ticket ^String parameter-constraint-name & [^PersistentHashMap opts]]
(utils/call-rest
client/get
(format "%s/action-parameter-constraint/%s" (config/get-url 'core) parameter-constraint-name)
ticket
{:query-params nil}
opts))

(defn list-available-actions
"Gets a list of all available actions.
The default sort order for the returned list is for actions to be sorted by ascending name.
Expand Down

0 comments on commit c6f796a

Please sign in to comment.