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

References

Domain information list

json:server_names

Original definition
# Domain information list

## Definition
~~~
[ Domain information 1, Domain information 2, ... ]
~~~
Each `Domain information N` is a single domain information definition. See {json:server_name} for details.

## Examples
### Example 1: a single domain
~~~json
[
	{
		"name": "example.com",
		"type": "full"
	}
]
~~~

### Example 2: multiple domains
~~~json
[
	{
		"name": "example.com",
		"type": "full"
	},
	{
      	"name": "google.com",
      	"type": "full"
  	},
  	{
		"name": "facebook.com",
	  	"type": "full"
  	}
]
~~~

### Example 3: a domain collection
A domain collection behaves the same as multiple domains, but appears as a single directory in the interface.
~~~json
[
  	{
		"name": "",
	  	"type": "full",
	  	"subNames": ["example.com", "google.com", "facebook.com"]
  	}
]
~~~

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

Setup guide