List All Rules
GET {{baseUrl}}/rules?limit=<long>&offset=<long>
This method returns an array of all rules that are stored in the backend. This is useful if you want to get a full view of what rules you have currently in place.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
limit | string | The maximum amount of rules returned. | |
offset | string | The offset from where to start looking. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
[{"authenticators":[{"config":{"description":"Config contains the configuration for the handler. Please read the user\nguide for a complete list of each handler's available settings."},"handler":"\u003cstring\u003e"},{"config":{"description":"Config contains the configuration for the handler. Please read the user\nguide for a complete list of each handler's available settings."},"handler":"\u003cstring\u003e"}],"authorizer":{"config":{"description":"Config contains the configuration for the handler. Please read the user\nguide for a complete list of each handler's available settings."},"handler":"\u003cstring\u003e"},"description":"\u003cstring\u003e","id":"\u003cstring\u003e","match":{"methods":["\u003cstring\u003e","\u003cstring\u003e"],"url":"\u003cstring\u003e"},"mutators":[{"config":{"description":"Config contains the configuration for the handler. Please read the user\nguide for a complete list of each handler's available settings."},"handler":"\u003cstring\u003e"},{"config":{"description":"Config contains the configuration for the handler. Please read the user\nguide for a complete list of each handler's available settings."},"handler":"\u003cstring\u003e"}],"upstream":{"preserve_host":"\u003cboolean\u003e","strip_path":"\u003cstring\u003e","url":"\u003cstring\u003e"}},{"authenticators":[{"config":{"description":"Config contains the configuration for the handler. Please read the user\nguide for a complete list of each handler's available settings."},"handler":"\u003cstring\u003e"},{"config":{"description":"Config contains the configuration for the handler. Please read the user\nguide for a complete list of each handler's available settings."},"handler":"\u003cstring\u003e"}],"authorizer":{"config":{"description":"Config contains the configuration for the handler. Please read the user\nguide for a complete list of each handler's available settings."},"handler":"\u003cstring\u003e"},"description":"\u003cstring\u003e","id":"\u003cstring\u003e","match":{"methods":["\u003cstring\u003e","\u003cstring\u003e"],"url":"\u003cstring\u003e"},"mutators":[{"config":{"description":"Config contains the configuration for the handler. Please read the user\nguide for a complete list of each handler's available settings."},"handler":"\u003cstring\u003e"},{"config":{"description":"Config contains the configuration for the handler. Please read the user\nguide for a complete list of each handler's available settings."},"handler":"\u003cstring\u003e"}],"upstream":{"preserve_host":"\u003cboolean\u003e","strip_path":"\u003cstring\u003e","url":"\u003cstring\u003e"}}]