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
IP database file management12 matching interfaces

Create an IP database file

createIPLibraryFile

POST/IPLibraryFileService/createIPLibraryFile
Original definition
rpc createIPLibraryFile(CreateIPLibraryFileRequest) returns (CreateIPLibraryFileResponse);

Request message

CreateIPLibraryFileRequest

Create an IP database file

Request message · Field definitions
message CreateIPLibraryFileRequest {
	string name = 1;
	string template = 2;
	repeated string emptyValues = 3;
	int64 fileId = 4;
	bytes countriesJSON = 5;
	bytes provincesJSON = 6;
	bytes citiesJSON = 7;
	bytes townsJSON = 8;
	bytes providersJSON = 9;
	string password = 10; // Password
}

Response message

CreateIPLibraryFileResponse
Response message · Field definitions
message CreateIPLibraryFileResponse {
	int64 ipLibraryFileId = 1;
}

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

Setup guide