This page describes the commands
endpoint, which can be used to trigger commands defined in catalogs.
Excerpt Include |
---|
| Commands |
---|
| Commands |
---|
nopanel | true |
---|
|
The REST resource must be called with HTTP
.
Request URLs
The endpoint recognizes URLs with or without a catalog parameter.
<TODO: check:
Which command is taken, if the request does not contain the catalogName param??? >
/commands/v2/{catalogName}/{commandName}
/commands/v2/{commandName}
Parameters
Advanced Tables - Table Plus |
---|
multiple | false |
---|
enableHeadingAttributes | false |
---|
enableSorting | false |
---|
enableHighlighting | false |
---|
|
Parameter | Description | Parameter type | Data type | commandName | required Command definition | path | String | catalogName
| optional Command catalog | path
| String
| body
| required Request body in JSON or XML format; it contains the parameters required to execute the command. | body
| String
|
|
Example
<TODO: Find an example of a command which is not related to publishing. Note that new publishing is not yet supporting commands (wrapping the new operations.)>