Routes

Get a Route using ID or name.

get/v2/control-planes/{controlPlaneId}/core-entities/routes/{RouteId}

Request

  • Base URL: https://global.api.konghq.com
  • URL: https://global.api.konghq.com/v2/control-planes/{controlPlaneId}/core-entities/routes/{RouteId}
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer
    • HTTP bearer
    • HTTP bearer

Response

Successfully fetched Route

OR

Example response

{
  "hosts": [
    "foo.example.com",
    "foo.example.us"
  ],
  "id": "56c4566c-14cc-4132-9011-4139fcbbe50a",
  "name": "example-route",
  "paths": [
    "/v1",
    "/v2"
  ],
  "service": {
    "id": "bd380f99-659d-415e-b0e7-72ea05df3218"
  }
}

Changes

    • info

      the response's property default value changed from http https to https for the status

    • info

      the response's property default value changed from http https to https for the status

    • breaking

      the response property ////// became nullable for the status

    • breaking

      the response property ////// became nullable for the status

    • breaking

      the response property ////// became nullable for the status

    • breaking

      the response property ////// became nullable for the status

    • info

      the response's property default value 426 was added for the status

    • info

      the response's property default value 426 was added for the status

    • info

      the response's property default value v0 was added for the status

    • info

      the response's property default value v0 was added for the status

    • info

      the response's property default value false was added for the status

    • info

      the response's property default value false was added for the status

    • info

      the response's property default value 0 was added for the status

    • info

      the response's property default value 0 was added for the status

    • info

      the response's property default value true was added for the status

    • info

      the response's property default value true was added for the status

    • info

      the response's property default value true was added for the status

    • info

      the response's property default value true was added for the status

    • info

      the response's property default value true was added for the status

    • info

      the response's property default value true was added for the status