Retrieve a Rule
GET {{baseUrl}}/rules/:id
Use this method to retrieve a rule from the storage. If it does not exist you will receive a 404 error.
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"}}