Retrieve Upstream
GET {{gateway}}/upstreams/:upstreamNameOrId
Retrieve Upstream konghq
Attributes | Mandatory | Type | Description |
---|---|---|---|
upstream name or id | required | path | The unique identifier or the name of the Upstream to retrieve. |
RESPONSES
status: OK
{"created_at":1584044267,"hash_on":"none","id":"f8d38987-1eb6-4cb2-a7c8-6b11a17de911","algorithm":"round-robin","name":"my-upstream","tags":["user-level","low-priority"],"hash_fallback_header":null,"hash_fallback":"none","hash_on_cookie":null,"host_header":"example.com","hash_on_cookie_path":"/","healthchecks":{"threshold":0,"active":{"unhealthy":{"http_statuses":[429,404,500,501,502,503,504,505],"tcp_failures":0,"timeouts":0,"http_failures":0,"interval":0},"type":"http","http_path":"/","timeout":1,"healthy":{"successes":0,"interval":0,"http_statuses":[200,302]},"https_sni":"example.com","https_verify_certificate":true,"concurrency":10},"passive":{"unhealthy":{"http_failures":0,"http_statuses":[429,500,503],"tcp_failures":0,"timeouts":0},"healthy":{"http_statuses":[200,201,202,203,204,205,206,207,208,226,300,301,302,303,304,305,306,307,308],"successes":0},"type":"http"}},"hash_on_header":null,"slots":10000}