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

Reverse proxy scheduling

json:scheduling

Original definition
# Reverse proxy scheduling
## Definition
~~~json
{
	"code": "Scheduling method code",
    "options": "Scheduling options"
}
~~~

Where:
* `code`: scheduling method code
  * `random` - Random
  * `roundRobin` - Round robin
  * `hash` - Hash algorithm
    * `key` - Custom key; may use request variables such as `${remoteAddr}`
  * `sticky` - Sticky algorithm
    * `type` - Type: cookie, header or argument
    * `param` - Parameter value


## Examples
~~~json
{
  "code": "random",
  "options": null
}
~~~

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

Setup guide