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

Find a website by CNAME

findServerIdWithDNSName

POST/ServerService/findServerIdWithDNSName
Original definition
rpc findServerIdWithDNSName(FindServerIdWithDNSNameRequest) returns (FindServerIdWithDNSNameResponse);

Request message

FindServerIdWithDNSNameRequest

Find a website by CNAME

Request message · Field definitions
message FindServerIdWithDNSNameRequest {
	int64 nodeClusterId = 1;
	string dnsName = 2;
}

Response message

FindServerIdWithDNSNameResponse
Response message · Field definitions
message FindServerIdWithDNSNameResponse {
	int64 serverId = 1; // Website ID
}

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

Setup guide