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

Update an API node

updateAPINode

POST/APINodeService/updateAPINode
Original definition
rpc updateAPINode (UpdateAPINodeRequest) returns (RPCSuccess);

Request message

UpdateAPINodeRequest

Update an API node

Request message · Field definitions
message UpdateAPINodeRequest {
	int64 apiNodeId = 1; // API node ID
	string name = 2; // API node name
	string description = 3; // API node description
	bytes httpJSON = 4; // HTTP listener address configuration @link json:http_protocol
	bytes httpsJSON = 5; // HTTPS listener address configuration @link json:https_protocol
	bytes accessAddrsJSON = 6; // Access address @link json:network_address
	bool isOn = 7; // Whether the current API node is enabled
	bool restIsOn = 8; // Whether the API is enabled
	bytes restHTTPJSON = 9; // API HTTP address configuration @link json:http_protocol
	bytes restHTTPSJSON = 10; // API HTTPS address configuration @link json:https_protocol
	bool isPrimary = 11; // Whether this is the primary API node; routine tasks run primarily on this node
}

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