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
Website services47 matching interfaces

Add an origin to a website

addServerOrigin

POST/ServerService/addServerOrigin
Original definition
rpc addServerOrigin(AddServerOriginRequest) returns (RPCSuccess);

Request message

AddServerOriginRequest

Add an origin to a website

Request message · Field definitions
message AddServerOriginRequest {
	int64 serverId = 1; // Website ID
	int64 originId = 2; // Origin ID, created and retrieved through OriginService
	bool isPrimary = 3; // Whether this is the primary origin
}

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