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
Article management service7 matching interfaces

Update an article

updatePost

POST/PostService/updatePost
Original definition
rpc updatePost(UpdatePostRequest) returns (RPCSuccess);

Request message

UpdatePostRequest

Update an article

Request message · Field definitions
message UpdatePostRequest {
	int64 postId = 1; // Article ID
	int64 postCategoryId = 2; // Article category ID
	string productCode = 3; // Product code
	string subject = 4; // Title
	string type = 5; // Type: normal, url
	string url = 6; // Redirect URL (type=url)
	string body = 7; // Article content (type=normal)
}

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