This endpoint returns a status code of 204 if the route exists, and 404 if it does not.
GET /v2/routes/reserved/domain/7db6cd2d-df33-4ef8-aa6e-8a3916357e27/host/host-13?path=/apps/v1/path
Name | Description | Valid Values | Example Values |
---|---|---|---|
domain_guid | The guid of a domain |
|
|
host | The host portion of the route |
|
|
path | The path of a route |
|
|
path: /apps/v1/path
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzMSIsImVtYWlsIjoiZW1haWwtMTY3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTM4MzcyNzJ9.rCVcFDTHwzOOHNkI2ZJir91FrLXVX4V2u_LrUYmm8sk Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/routes/reserved/domain/7db6cd2d-df33-4ef8-aa6e-8a3916357e27/host/host-13?path=/apps/v1/path" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzMSIsImVtYWlsIjoiZW1haWwtMTY3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTM4MzcyNzJ9.rCVcFDTHwzOOHNkI2ZJir91FrLXVX4V2u_LrUYmm8sk" \ -H "Host: example.org" \ -H "Cookie: "
204 No Content
X-VCAP-Request-ID: X-Content-Type-Options: nosniff