POST
/
transformer
/
preview
curl --request POST \
  --url https://api.switchboard.svc.versori.io/v1alpha1/transformer/preview \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "input": "<string>",
  "overrides": [
    {
      "actorid": "<string>",
      "input": "<string>"
    }
  ],
  "transform": "<string>"
}'
{
  "output": {}
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
input
string
required

The input data to the transformer.

overrides
object[]
transform
string
required

The configuration of the transformer.

Response

200 - application/json
output
object
required

The output data from the transformer.