POST
/
organisations
/
{organisationId}
/
boards
/
{boardId}
/
actors
/
{actorId}
/
code
/
preview
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>"
}

Authorizations

Authorization
string
header
required

Path Parameters

organisationId
string
required
boardId
string
required
actorId
string
required

Body

application/json
Payload to pass configuration and preview input data to the Code Action.

The body is of type object.

Response

200
application/json
The processed data from the code action.

The response is of type object.