跳转到主要内容
POST
/
v1
/
config
在当前节点编译并应用配置
curl --request POST \
  --url http://127.0.0.1:22100/v1/config \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "generation": 123,
  "scope": "local"
}

授权

Authorization
string
header
必填

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

请求体

application/json

原始 Arc 配置 JSON 文档。

响应

已在本地应用

generation
integer<int64>
必填
scope
enum<string>
必填
可用选项:
local