Available API Methods
This table shows the API methods available in the /scriptingservice/engine
endpoint.
Method | Type | Description |
---|---|---|
/v1/scripts/ | GET | Returns a list of all scripts with at least one approved version. |
/v1/scripts/{name} | GET | Returns:
For specified script name. Note: Only details of script with at least one
approved version can be retrieved.
|
/v1/scripts/{name}/execute | POST | Use this API to execute script. In request body provide the JSON input body with key/value pairs representing the input variables and their values. For ‘Binary’ input variables provide a base64 encoded string. When executing the base64 value is decoded and set in the script’s variable with the decoded value. The response provides the output of key/value pairs for the output variables. For ‘Binary’ output variables their value is base64 encoded in the response. Variables with NULL values can be omitted in the input request and is omitted in the response. |