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 statistics services8 matching interfaces

Read traffic data for a date range

findServerDailyStatsBetweenDays

POST/ServerDailyStatService/findServerDailyStatsBetweenDays
Original definition
rpc findServerDailyStatsBetweenDays (FindServerDailyStatsBetweenDaysRequest) returns (FindServerDailyStatsBetweenDaysResponse);

Request message

FindServerDailyStatsBetweenDaysRequest

Read traffic data for a date range

Request message · Field definitions
message FindServerDailyStatsBetweenDaysRequest {
	int64 userId = 1; // User ID; specify either this or a service ID
	int64 serverId = 2; // Service ID; specify either this or a user ID
	string dayFrom = 3; // Start date in YYYYMMDD format
	string dayTo = 4; // End date in YYYYMMDD format
	int64 nodeRegionId = 5; // Region ID
}

Response message

FindServerDailyStatsBetweenDaysResponse
Response message · Field definitions
message FindServerDailyStatsBetweenDaysResponse {
	repeated Stat stats = 1;


	message Stat {
		string day = 1;
		string timeFrom = 2;
		string timeTo = 3;
		string timeAt = 4;
		int64 bytes = 5;
		int64 cachedBytes = 6;
		int64 countRequests = 7;
		int64 countCachedRequests = 8;
	}
}

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

Setup guide