方法列表
创建高防产品
admin
RPC
createADPackage (CreateADPackageRequest) returns (CreateADPackageResponse)
HTTP
POST /ADPackageService/createADPackage
输入对象:CreateADPackageRequest:
输出对象:CreateADPackageResponse:
修改高防产品
admin
RPC
updateADPackage (UpdateADPackageRequest) returns (RPCSuccess)
HTTP
POST /ADPackageService/updateADPackage
输入对象:UpdateADPackageRequest:
输出对象:RPCSuccess:
{ }
查找单个高防产品
admin
RPC
findADPackage (FindADPackageRequest) returns (FindADPackageResponse)
HTTP
POST /ADPackageService/findADPackage
输入对象:FindADPackageRequest:
输出对象:FindADPackageResponse:
查询高防产品数量
admin
RPC
countADPackages (CountADPackagesRequest) returns (RPCCountResponse)
HTTP
POST /ADPackageService/countADPackages
输入对象:CountADPackagesRequest:
输出对象:RPCCountResponse:
{ // 数量 int64 count; }
查询可用的产品数量
admin
RPC
countAllIdleADPackages (CountAllIdleADPackages) returns (RPCCountResponse)
HTTP
POST /ADPackageService/countAllIdleADPackages
输入对象:CountAllIdleADPackages:
{ }
输出对象:RPCCountResponse:
{ // 数量 int64 count; }
列出单页高防产品
admin
RPC
listADPackages (ListADPackagesRequest) returns (ListADPackagesResponse)
HTTP
POST /ADPackageService/listADPackages
输入对象:ListADPackagesRequest:
{ int64 adNetworkId; // 读取位置 int64 offset; // 数量,通常不能小于0 int64 size; }
输出对象:ListADPackagesResponse:
列出所有可用的高防产品
admin
RPC
findAllIdleADPackages (FindAllIdleADPackagesRequest) returns (FindAllIdleADPackagesResponse)
HTTP
POST /ADPackageService/findAllIdleADPackages
输入对象:FindAllIdleADPackagesRequest:
{ }
输出对象:FindAllIdleADPackagesResponse:
删除高防产品
admin
RPC
deleteADPackage (DeleteADPackageRequest) returns (RPCSuccess)
HTTP
POST /ADPackageService/deleteADPackage
输入对象:DeleteADPackageRequest:
输出对象:RPCSuccess:
{ }