WAFGO正在准备页面
接入指南

API 文档

开发者资源 · API 参考

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

下载 JSON 文档
151 个服务1063 个接口
域名服务找到 2 个接口

组合看板数据

composeNSBoard

POST/NSService/composeNSBoard
原始定义
rpc composeNSBoard (ComposeNSBoardRequest) returns (ComposeNSBoardResponse);

请求消息

ComposeNSBoardRequest

组合看板数据

请求消息 · 字段定义
message ComposeNSBoardRequest {

}

响应消息

ComposeNSBoardResponse
响应消息 · 字段定义
message ComposeNSBoardResponse {
	int64 countNSDomains = 1;
	int64 countNSRecords = 2;
	int64 countNSClusters = 3;
	int64 countNSNodes = 4;
	int64 countOfflineNSNodes = 5;

	repeated DailyTrafficStat dailyTrafficStats = 30;
	repeated HourlyTrafficStat hourlyTrafficStats = 31;
	repeated NodeStat topNSNodeStats = 32;
	repeated DomainStat topNSDomainStats = 33;
	repeated NodeValue cpuNodeValues = 34;
	repeated NodeValue memoryNodeValues = 35;
	repeated NodeValue loadNodeValues = 36;


	message DailyTrafficStat {
		string day = 1;
		int64 bytes = 2;
		int64 countRequests = 3;
	}


	message HourlyTrafficStat {
		string hour = 1;
		int64 bytes = 2;
		int64 countRequests = 3;
	}


	message NodeStat {
		int64 nsClusterId = 1;
		int64 nsNodeId = 2;
		string nsNodeName = 3;
		int64 countRequests = 4;
		int64 bytes = 5;
	}


	message DomainStat {
		int64 nsDomainId = 1;
		string nsDomainName = 2;
		int64 countRequests = 3;
		int64 bytes = 4;
	}
}

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

接入指南