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

Get the website ID associated with a firewall

findServerIdWithHTTPFirewallPolicyId

POST/HTTPFirewallPolicyService/findServerIdWithHTTPFirewallPolicyId
Original definition
rpc findServerIdWithHTTPFirewallPolicyId(FindServerIdWithHTTPFirewallPolicyIdRequest) returns (FindServerIdWithHTTPFirewallPolicyIdResponse);

Request message

FindServerIdWithHTTPFirewallPolicyIdRequest

Get the website ID associated with a firewall

Request message · Field definitions
message FindServerIdWithHTTPFirewallPolicyIdRequest {
	int64 httpFirewallPolicyId = 1; // Firewall policy ID
}

Response message

FindServerIdWithHTTPFirewallPolicyIdResponse
Response message · Field definitions
message FindServerIdWithHTTPFirewallPolicyIdResponse {
	int64 serverId = 1; // Website ID associated with the firewall policy; 0 for a shared policy
}

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

Setup guide