服务商管理
设置IPv4地址池
Changed on追加IPv4地址,每行支持单IP、CIDR或起始IP - 结束IP(包含首尾,如192.168.1.1 - 192.168.1.100)。每个范围最多4096个地址;CIDR仍仅支持/20及更小网段,自动去重并返回无效行。
post/admin/providers/{id}/ipv4-pool
Request
- Base URLhttp://localhost:8888/api/v1
- URLhttp://localhost:8888/api/v1/admin/providers/{id}/ipv4-pool
- AuthAPI key in header Authorization
Path parameters
idinteger required
服务商ID
Request body
Example request
{
"addresses": "192.168.1.1 - 192.168.1.100"
}Response
设置成功
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking