WAFGOPreparing your page
Setup guide

API documentation

DEVELOPER RESOURCES · API REFERENCE

Explore WAFGO API services, request paths and message definitions. Browse by permission role to find the parameters and response structures for your integration.

Download JSON documentation
151 services1063 interfaces
Service bandwidth statistics service4 matching interfaces

Get peak bandwidth for a service

findServerBandwidthStats

POST/ServerBandwidthStatService/findServerBandwidthStats
Original definition
rpc findServerBandwidthStats(FindServerBandwidthStatsRequest) returns (FindServerBandwidthStatsResponse);

Request message

FindServerBandwidthStatsRequest

Get peak bandwidth for a service

Request message · Field definitions
message FindServerBandwidthStatsRequest {
	int64 serverId = 1; // Service ID
	string month = 2; // YYYYMM; specify either month or day
	string day = 3; // YYYYMMDD
	string algo = 4; // Bandwidth algorithm; currently supports secondly and avg
}

Response message

FindServerBandwidthStatsResponse
Response message · Field definitions
message FindServerBandwidthStatsResponse {
	repeated ServerBandwidthStat serverBandwidthStats = 1;
}

Descriptions and comments follow your language. Request paths, method names, field names and types match the original API definitions.

Setup guide