Skip to main content
POST
/
controllers
/
{controller_type}
/
{controller_name}
/
config
/
validate
Validate Controller Config
curl --request POST \
  --url http://localhost:8000/controllers/{controller_type}/{controller_name}/config/validate \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

controller_type
enum<string>
required

Types of controllers available

Available options:
directional_trading,
market_making,
generic
controller_name
string
required

Body

application/json

The body is of type Config · object.

Response

Successful Response