Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
{
"node": {
"nodes": [{
"value": {
"upstream": {
"nodes": {
"127.0.0.1:1980": 1
},
"type": "roundrobin"
},
"uri": "\/hello{:1?}"
},
"createdIndex": 40171,
"key": "\/apisix\/routes\/1",
"modifiedIndex": 40171
}, {
"value": {
"host": "web1.lvh.me",
"service_id": "1",
"uri": "\/"
},
"createdIndex": 40181,
"key": "\/apisix\/routes\/11",
"modifiedIndex": 40181
}, {
"value": {
"host": "web1.lvh.me",
"service_id": "1",
"uri": "\/{:.*}"
},
"createdIndex": 40182,
"key": "\/apisix\/routes\/12",
"modifiedIndex": 40182
}, {
"value": {
"host": "web2.lvh.me",
"service_id": "2",
"uri": "\/"
},
"createdIndex": 40183,
"key": "\/apisix\/routes\/21",
"modifiedIndex": 40183
}, {
"value": {
"host": "web2.lvh.me",
"service_id": "2",
"uri": "\/{:.*}"
},
"createdIndex": 40184,
"key": "\/apisix\/routes\/22",
"modifiedIndex": 40184
}, {
"value": {
"host": "web2.lvh.me",
"service_id": "3",
"uri": "\/v2"
},
"createdIndex": 40185,
"key": "\/apisix\/routes\/23",
"modifiedIndex": 40185
}, {
"value": {
"host": "web2.lvh.me",
"service_id": "3",
"uri": "\/v2\/"
},
"createdIndex": 40186,
"key": "\/apisix\/routes\/24",
"modifiedIndex": 40186
}, {
"value": {
"host": "web2.lvh.me",
"service_id": "3",
"uri": "\/v2\/{:.*}"
},
"createdIndex": 40187,
"key": "\/apisix\/routes\/25",
"modifiedIndex": 40187
}],
"modifiedIndex": 40158,
"createdIndex": 40158,
"key": "\/apisix\/routes",
"dir": true
},
"action": "get"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment