Skip to main content
PUT
Save the router config (writes YAML to the shared volume)

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
graph
RouterGraph · object
required

The full editable router as a node/edge graph.

The list bounds cap the work a single save can trigger (serialisation + O(nodes×edges) validation + disk write) — a guard against an oversized payload exhausting CPU/disk.

message
string | null

Optional commit message recorded with the version.

Maximum string length: 500

Response

Successful Response

ok
boolean
required
config_path
string
required
raw_yaml
string
required
version
integer
required

The version number this save created.