curl --location --request GET 'https://m1.apifoxmock.com/m1/2270273-0-default/agw/upstream/one?id&instId' \
--header 'jwt: eyJhbGciOiJIUzI1NiJ9.eyJ1c2VySWQiOjE4MjA3NCwidGVuYW50SWQiOjk5NDg3MDcsInVzZXJOYW1lIjoiY3R5dW4wYTFjMzI1MmI2MjQ0NzEyMTcyNTQyMjU3MSIsInRlbmFudE5hbWUiOiJtc2FwX21zZV9jc21fZGV2X21hc3RlckBxcS5jb20jcGFhczQwIiwidGVuYW50Q29kZSI6IkN0eXVuM2UxNjIxYTY3YjQwNDY0MjE3MjU0MjI1NzEiLCJidXNpVXNlcklkIjpudWxsLCJidXNpVGVuYW50SWQiOm51bGwsImJ1c2lUZW5hbnROYW1lIjpudWxsLCJhY2NvdW50VHlwZSI6MCwiaXNPd25lciI6dHJ1ZSwicmVhbE5hbWUiOiJtc2FwX21zZV9jc21fZGV2IiwicmVxU291cmNlIjoiMDEiLCJ2ZXJzaW9uTm8iOiIzLjAuMCIsInJlc1Bvb2xDb2RlIjoiYjM0MmI3N2VmMjZiMTFlY2IwYWMwMjQyYWMxMTAwMDIiLCJwcml2YXRlS2V5IjpudWxsLCJvdXRlclRlbmFudElkIjoiM2UxNjIxYTY3YjQwNDY0MmIxMDAxMDc3YzcxYmE3OWYiLCJvdXRlclVzZXJJZCI6IjBhMWMzMjUyYjYyNDQ3MTJiNmNiM2FhMGU1YTc5M2JmIiwiYWdlbnRVc2VySWQiOm51bGwsImFnZW50VGVuYW50SWQiOm51bGwsImlhdCI6MTczMjUxOTQ3NCwiaXNzIjoiZmlyc3R6dXVsIiwiZXhwIjoyMzMyNTE5NDc0fQ.XiXnJQmUSVc8I-IVY99JE5VmHMvM8dydDpD9xC5St8g'
{
"code": 200,
"data": {
"balancerStrategy": {
"balancerType": "roundrobin",
"hashOn": "vars",
"key": "uri"
},
"certFileName": "string",
"certKeyFileName": "string",
"code": "string",
"createTime": "2019-08-24T14:15:22Z",
"dnsService": {
"serviceDomain": "string",
"servicePort": 0
},
"enableMtls": true,
"faasService": {
"aliasName": "string",
"functionId": "string",
"functionName": "string",
"host": "string",
"versionId": "string",
"vpceClientAddress": "string"
},
"groupName": "string",
"healthCheckConfig": {
"active": {
"concurrency": 0,
"enable": false,
"healthy": {
"httpStatuses": [
200,
302
],
"interval": 1,
"successes": 2
},
"httpPath": "/",
"httpsVerifyCertificate": true,
"port": "${upstream.node.port}",
"reqHeaders": [],
"timeout": 0,
"type": "http",
"unhealthy": {
"httpFailures": 5,
"httpStatuses": [
429,
404,
500,
501,
502,
503,
504,
505
],
"interval": "7a2828074ef6e32e041a2ef124b19e63",
"tcpFailures": 2,
"timeouts": 3
}
},
"forceEnableChecks": false,
"passive": {
"enable": false,
"healthy": {
"httpStatuses": [
200
],
"successes": 5
},
"type": "http",
"unhealthy": {
"httpFailures": 0,
"httpStatuses": [
0
],
"tcpFailures": 0,
"timeouts": 0
}
}
},
"label": {
"property1": [
{
"labelValue": "string",
"labelValueVO": "string"
}
],
"property2": [
{
"labelValue": "string",
"labelValueVO": "string"
}
]
},
"labelNames": [
{
"labelName": "string",
"labelNameVO": "string"
}
],
"name": "string",
"namespace": "string",
"nodes": [
{
"host": "string",
"port": 0,
"priority": 0,
"weight": 0
}
],
"protocol": "string",
"resourceCreator": "string",
"resourceCreatorDesc": "string",
"retry": {
"retries": 0,
"retryTimeout": 0
},
"serviceNameInRegistry": "string",
"serviceType": "string",
"sourceType": "string",
"timeout": {
"connect": 0,
"read": 0,
"send": 0
},
"updateTime": "2019-08-24T14:15:22Z"
},
"message": "success",
"requestId": "123456789-adc"
}