WAFGO正在准备页面
接入指南

API 文档

开发者资源 · API 参考

查阅 WAFGO API 的服务、请求路径和消息定义。按权限角色浏览接口,快速找到接入所需的参数与返回结构。

下载 JSON 文档
69 个服务354 个接口
IP列表找到 4 个接口

根据IP名单代号获取IP名单ID

findIPListIdWithCode

POST/IPListService/findIPListIdWithCode
原始定义
rpc findIPListIdWithCode(FindIPListIdWithCodeRequest) returns (FindIPListIdWithCodeResponse);

请求消息

FindIPListIdWithCodeRequest

根据IP名单代号获取IP名单ID

请求消息 · 字段定义
message FindIPListIdWithCodeRequest {
	string code = 1; // IP名单代号
}

响应消息

FindIPListIdWithCodeResponse
响应消息 · 字段定义
message FindIPListIdWithCodeResponse {
	int64 ipListId = 1; // IP名单ID
}

说明与注释按当前语言显示。接口路径、方法名、字段名和类型与原始接口定义保持一致。

接入指南