跳转到主要内容
GET
/
v1
/
xdp
/
blacklist
列出黑名单 IP/CIDR 条目
curl --request GET \
  --url http://127.0.0.1:22100/v1/xdp/blacklist \
  --header 'Authorization: Bearer <token>'
{
  "count": 123,
  "items": [
    {
      "ip": "<string>",
      "prefix_len": 123,
      "reason": "<string>",
      "blocked_at_ns": 123,
      "ttl_ms": 123,
      "remaining_ms": 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[]
必填