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
Routing rule service7 matching interfaces

Update a path rule

updateHTTPLocation

POST/HTTPLocationService/updateHTTPLocation
Original definition
rpc updateHTTPLocation (UpdateHTTPLocationRequest) returns (RPCSuccess);

Request message

UpdateHTTPLocationRequest

Update a path rule

Request message · Field definitions
message UpdateHTTPLocationRequest {
	int64 locationId = 1;
	string name = 2;
	string description = 3;
	string pattern = 4;
	bool isOn = 5;
	bool isBreak = 6;
	bytes condsJSON = 7;
	repeated string domains = 8;
}

Response message

RPCSuccess

Operation successful

Response message · Field definitions
message RPCSuccess {

}

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

Setup guide