WAFGO正在准备页面
接入指南

API 文档

开发者资源 · API 参考

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

下载 JSON 文档
69 个服务354 个接口
用户购买的套餐管理服务找到 7 个接口

查找所有服务可用的套餐

findAllEnabledUserPlansForServer

POST/UserPlanService/findAllEnabledUserPlansForServer
原始定义
rpc findAllEnabledUserPlansForServer(FindAllEnabledUserPlansForServerRequest) returns (FindAllEnabledUserPlansForServerResponse);

请求消息

FindAllEnabledUserPlansForServerRequest

查找所有服务可用的套餐

请求消息 · 字段定义
message FindAllEnabledUserPlansForServerRequest {
	int64 userId = 1;
	int64 serverId = 2;
}

响应消息

FindAllEnabledUserPlansForServerResponse
响应消息 · 字段定义
message FindAllEnabledUserPlansForServerResponse {
	repeated UserPlan userPlans = 1;
}

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

接入指南