跳转到主要内容
GET
/
v1
/
xdp
/
whitelist
列出白名单 IP/CIDR 条目
curl --request GET \
  --url http://127.0.0.1:22100/v1/xdp/whitelist \
  --header 'Authorization: Bearer <token>'
{
  "count": 123,
  "items": [
    {
      "ip": "<string>",
      "prefix_len": 123
    }
  ]
}

授权

Authorization
string
header
必填

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

查询参数

max
integer<int32>
默认值:1024
必填范围: 1 <= x <= 65536

响应

白名单条目

count
integer<int32>
必填
items
object[]
必填