Authorizations
Body
application/json
Payload to pass configuration and preview input data to the Code Action.
curl --request POST \
--url https://platform.versori.com/api/switchboard/v1alpha1/organisations/{organisationId}/boards/{boardId}/actors/{actorId}/code/preview \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"selectors": {},
"data": {},
"code": "<string>",
"userId": "<string>"
}'
{
"output": {},
"executionId": "<string>"
}
Preview the output of a Code Action. This endpoint is useful for testing a Code Action.
curl --request POST \
--url https://platform.versori.com/api/switchboard/v1alpha1/organisations/{organisationId}/boards/{boardId}/actors/{actorId}/code/preview \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"selectors": {},
"data": {},
"code": "<string>",
"userId": "<string>"
}'
{
"output": {},
"executionId": "<string>"
}
Payload to pass configuration and preview input data to the Code Action.