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

Check whether a domain already exists in a cluster

checkServerNameDuplicationInNodeCluster

POST/ServerService/checkServerNameDuplicationInNodeCluster
Original definition
rpc checkServerNameDuplicationInNodeCluster (CheckServerNameDuplicationInNodeClusterRequest) returns (CheckServerNameDuplicationInNodeClusterResponse);

Request message

CheckServerNameDuplicationInNodeClusterRequest

Check whether a domain already exists in a cluster

Request message · Field definitions
message CheckServerNameDuplicationInNodeClusterRequest {
	int64 nodeClusterId = 1;
	repeated string serverNames = 2; // Multiple domains can be checked in one request
	int64 excludeServerId = 3; // Website ID to exclude
	bool supportWildcard = 4;// Supports wildcard DNS records
}

Response message

CheckServerNameDuplicationInNodeClusterResponse
Response message · Field definitions
message CheckServerNameDuplicationInNodeClusterResponse {
	repeated string duplicatedServerNames = 1;
}

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

Setup guide