Get one route

Show the full configuration of one APISIX route.

curl -s http://apisix:9180/apisix/admin/routes/<id> -H 'X-API-KEY: <key>' | jq .

tool
apisix16 commands
tags
apisixnetwork

More apisix commands

  • curl -s http://apisix:9180/apisix/admin/upstreams -H 'X-API-KEY: <key>' | jq '.list[].value | {id:.id, nodes:.nodes}'

    List all APISIX upstreams with their nodes.

  • curl -s http://apisix:9180/apisix/admin/plugins/list -H 'X-API-KEY: <key>' | jq .

    List all available APISIX plugins.

  • curl -X PUT http://apisix:9180/apisix/admin/configs/reload -H 'X-API-KEY: <key>'

    Reload APISIX configuration from etcd without a restart.

  • curl -s http://apisix:9080/apisix/status | jq .

    Show APISIX node status and connection stats from the /apisix/status endpoint.

  • kubectl get pods -n ingress-apisix

    Check that APISIX pods are running in Kubernetes.

all 16 apisix commands