Retrieve Route
GET {{gateway}}/routes/:routeNameOrID
Retrieve Route konghq
Attributes | Mandatory | Type | Description |
---|---|---|---|
Route name or id | required | path | The unique identifier or the name of the Route to retrieve. |
RESPONSES
status: OK
{"id":"d35165e2-d03e-461a-bdeb-dad0a112abfe","created_at":1422386534,"updated_at":1422386534,"name":"my-route","protocols":["http","https"],"methods":["GET","POST"],"hosts":["example.com","foo.test"],"paths":["/foo","/bar"],"headers":{"x-another-header":["bla"],"x-my-header":["foo","bar"]},"https_redirect_status_code":426,"regex_priority":0,"strip_path":true,"path_handling":"v0","preserve_host":false,"tags":["user-level","low-priority"],"service":{"id":"af8330d3-dbdc-48bd-b1be-55b98608834b"},"destinations":"Excepteur magna","snis":"eu fugiat","sources":"irure"}