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 firewall (WAF) service8 matching interfaces

Check IP address status

checkHTTPFirewallPolicyIPStatus

POST/HTTPFirewallPolicyService/checkHTTPFirewallPolicyIPStatus
Original definition
rpc checkHTTPFirewallPolicyIPStatus (CheckHTTPFirewallPolicyIPStatusRequest) returns (CheckHTTPFirewallPolicyIPStatusResponse);

Request message

CheckHTTPFirewallPolicyIPStatusRequest

Check IP address status

Request message · Field definitions
message CheckHTTPFirewallPolicyIPStatusRequest {
	int64 httpFirewallPolicyId = 1;
	string ip = 2;
}

Response message

CheckHTTPFirewallPolicyIPStatusResponse
Response message · Field definitions
message CheckHTTPFirewallPolicyIPStatusResponse {
	bool isOk = 1; // Whether the query succeeded
	string error = 2; // Error message
	bool isFound = 3; // Whether found
	bool isAllowed = 4; // Whether access is allowed
	IPList ipList = 5; // Matched IPList
	IPItem ipItem = 6; // Matched IPItem
	RegionCountry regionCountry = 7; // Matched blocked region
	RegionProvince regionProvince = 8; // Matched blocked province
}

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

Setup guide