Skip to main content
POST
/
v1
/
config
/
validate
Compile config without applying it
curl --request POST \
  --url http://127.0.0.1:22100/v1/config/validate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "ok": true,
  "generation": 123
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Raw Arc config JSON document.

Response

Config is valid

ok
boolean
required
generation
integer<int64>
required