跳转到主要内容
GET
/
v1
/
config
/
longpoll
等待配置代际变化
curl --request GET \
  --url http://127.0.0.1:22100/v1/config/longpoll \
  --header 'Authorization: Bearer <token>'
{}

授权

Authorization
string
header
必填

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

请求头

If-None-Match
string

传递 since 的另一种方式。

查询参数

since
integer<int64>

最近一次已知代际。

必填范围: x >= 0
timeout_ms
integer<int64>

等待超时时间(毫秒)。

必填范围: 1 <= x <= 120000

响应

配置已变化,返回新配置

原始 Arc 配置 JSON 文档。