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
69 services354 interfaces
DNS record services18 matching interfaces

Read a page of records

listNSRecords

POST/NSRecordService/listNSRecords
Original definition
rpc listNSRecords (ListNSRecordsRequest) returns (ListNSRecordsResponse);

Request message

ListNSRecordsRequest

Read a page of records

Request message · Field definitions
message ListNSRecordsRequest {
	int64 nsDomainId = 1;
	string type = 2;
	int64 nsRouteId = 3 [deprecated = true]; // Use nsRouteCode instead
	string nsRouteCode = 7;
	string keyword = 4;

	bool nameAsc = 8;
	bool nameDesc = 9;
	bool typeAsc = 10;
	bool typeDesc = 11;
	bool ttlAsc = 12;
	bool ttlDesc = 13;
	bool upAsc = 14;
	bool upDesc = 15;

	int64 offset = 5;
	int64 size = 6;
}

Response message

ListNSRecordsResponse
Response message · Field definitions
message ListNSRecordsResponse {
	repeated NSRecord nsRecords = 1;
}

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

Setup guide