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
69 services354 interfaces
Cache task key management2 matching interfaces

Count keys already purged today

countHTTPCacheTaskKeysWithDay

POST/HTTPCacheTaskKeyService/countHTTPCacheTaskKeysWithDay
Original definition
rpc countHTTPCacheTaskKeysWithDay(CountHTTPCacheTaskKeysWithDayRequest) returns (RPCCountResponse);

Request message

CountHTTPCacheTaskKeysWithDayRequest

Count keys already purged today

Request message · Field definitions
message CountHTTPCacheTaskKeysWithDayRequest {
	string keyType = 1; // Key type: purge for cache purging, fetch for cache prefetching
	string day = 2; // Date in YYYYMMDD format
}

Response message

RPCCountResponse

Return the count

Response message · Field definitions
message RPCCountResponse {
	int64 count = 1;
}

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

Setup guide