cURL
curl --request POST \ --url http://127.0.0.1:22100/v1/cluster/config \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{}'
{ "ok": true, "generation": 123, "validated": 123, "committed": 123, "quorum": 123, "scope": "http_push", "reason": "<string>" }
两阶段推送:先由对端校验,再统一提交。仅节点角色为 leader 时允许调用。
leader
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
原始 Arc 配置 JSON 文档。
推送已接受
http_push
gossip