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
API node service14 matching interfaces

Create an API node

createAPINode

POST/APINodeService/createAPINode
Original definition
rpc createAPINode (CreateAPINodeRequest) returns (CreateAPINodeResponse);

Request message

CreateAPINodeRequest

Create an API node

Request message · Field definitions
message CreateAPINodeRequest {
	string name = 1; // API node name
	string description = 2; // API node description
	bytes httpJSON = 3; // HTTP listener address configuration @link json:http_protocol
	bytes httpsJSON = 4; // HTTPS listener address configuration @link json:https_protocol
	bytes accessAddrsJSON = 5; // Access address @link json:network_address
	bool isOn = 6; // Whether the current API node is enabled
	bool restIsOn = 7; // Whether the API is enabled
	bytes restHTTPJSON = 8; // API HTTP address configuration @link json:http_protocol
	bytes restHTTPSJSON = 9;  // API HTTPS address configuration @link json:https_protocol
}

Response message

CreateAPINodeResponse
Response message · Field definitions
message CreateAPINodeResponse {
	int64 apiNodeId = 1;
}

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

Setup guide