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
Node threshold service6 matching interfaces

Create a threshold

createNodeThreshold

POST/NodeThresholdService/createNodeThreshold
Original definition
rpc createNodeThreshold (CreateNodeThresholdRequest) returns (CreateNodeThresholdResponse);

Request message

CreateNodeThresholdRequest

Create a threshold

Request message · Field definitions
message CreateNodeThresholdRequest {
	string role = 1;
	int64 nodeClusterId = 2;
	int64 nodeId = 3;
	string item = 4;
	string param = 5;
	string operator = 6;
	bytes valueJSON = 7;
	string message = 8;
	int32 duration = 9;
	string durationUnit = 10;
	string sumMethod = 11;
	int32 notifyDuration = 12;
}

Response message

CreateNodeThresholdResponse
Response message · Field definitions
message CreateNodeThresholdResponse {
	int64 nodeThresholdId = 1;
}

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

Setup guide