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
HTTP access log service2 matching interfaces

List a page of access logs

listHTTPAccessLogs

POST/HTTPAccessLogService/listHTTPAccessLogs
Original definition
rpc listHTTPAccessLogs (ListHTTPAccessLogsRequest) returns (ListHTTPAccessLogsResponse);

Request message

ListHTTPAccessLogsRequest

List a page of earlier access logs

Request message · Field definitions
message ListHTTPAccessLogsRequest {
	string requestId = 1; // Optional: request ID from the previous page
	int64 serverId = 2; // Service ID
	int64 size = 3; // Items per page
	string day = 4; // Date in YYYYMMDD format
	string hourFrom = 17; // Start hour
	string hourTo = 18; // End hour
	bool reverse = 5; // Optional: whether to search in reverse order
	bool hasError = 6; // Optional: whether an error occurred
	int64 firewallPolicyId = 7; // Optional: WAF policy ID
	int64 firewallRuleGroupId = 8; // Optional: WAF group ID
	int64 firewallRuleSetId = 9; // Optional: WAF rule set ID
	int64 userId = 10; // User ID
	bool hasFirewallPolicy = 11; // Whether a WAF policy exists
	string keyword = 12; // Keywords
	string ip = 13;
	string domain = 14;
	int64 nodeClusterId = 15;
	int64 nodeId = 16;
	int32 partition = 19; // Partition
}

Response message

ListHTTPAccessLogsResponse
Response message · Field definitions
message ListHTTPAccessLogsResponse {
	repeated HTTPAccessLog accessLogs = 1 [deprecated = true];
	repeated HTTPAccessLog httpAccessLogs = 4;
	string requestId = 2;
	bool hasMore = 3;
}

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

Setup guide