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
Edge node cluster management service51 matching interfaces

Get available ports in a cluster

findFreePortInNodeCluster

POST/NodeClusterService/findFreePortInNodeCluster
Original definition
rpc findFreePortInNodeCluster (FindFreePortInNodeClusterRequest) returns (FindFreePortInNodeClusterResponse);

Request message

FindFreePortInNodeClusterRequest

Get available ports in a cluster

Request message · Field definitions
message FindFreePortInNodeClusterRequest {
	int64 nodeClusterId = 1;
	string protocolFamily = 2;
}

Response message

FindFreePortInNodeClusterResponse
Response message · Field definitions
message FindFreePortInNodeClusterResponse {
	int32 port = 1;
}

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

Setup guide