v51

OpenAPI 3.0.2raw.githubusercontent.com2026-08-01245104440.0 KB
Objects

Execute script within context of given object

post/v1/objects/{object-id}/execute-script

Path parameters

object-idinteger required

Request body

parametersstring[]

Optional list of parameters to be passed to the script

resultAsMapboolean

If true, result will always be presented as a map (JSON object)

scriptstring

Source code of the script

Response

Script executed successfully

{"stackTrail":"paths:/v1/objects/{object-id}/execute-script:post:responses:200:content:application/json:schema:properties:result","oasType":"schema","type":"unknown","description":"Script result. When resultAsMap is true (or the script returns a hash map or array) this is a JSON object; otherwise the scalar result serialized as JSON."}