{ "services": [ { "id": 123, "backend_version": 1, "proxy": { "api_backend": "http://127.0.0.1:8081", "hostname_rewrite": "echo", "hosts": [ "localhost" ], "backend": { "endpoint": "http://127.0.0.1:8081", "host": "echo" }, "policy_chain": [ { "name": "apicast.policy.apicast" }, { "name": "apicast.policy.headers", "configuration": { "response": [ { "op": "set", "header": "X-SVC", "value": "svc1" } ] } } ], "proxy_rules": [ { "http_method": "GET", "pattern": "/svc1", "metric_system_name": "hits", "delta": 1 } ] } }, { "id": 456, "backend_version": 1, "proxy": { "api_backend": "http://127.0.0.1:8081", "hostname_rewrite": "echo", "hosts": [ "localhost" ], "backend": { "endpoint": "http://127.0.0.1:8081", "host": "echo" }, "policy_chain": [ { "name": "apicast.policy.apicast" }, { "name": "apicast.policy.headers", "configuration": { "response": [ { "op": "set", "header": "X-SVC", "value": "svc2" } ] } } ], "proxy_rules": [ { "http_method": "GET", "pattern": "/svc2", "metric_system_name": "hits", "delta": 1 } ] } } ] }