Check a Route exists
GET /v2/routes/reserved/domain/:domain_guid/host/:host?path=:path
Request
Route
GET /v2/routes/reserved/domain/df90d978-64a0-4bf0-aee7-1d1ab1248ba4/host/host-10?path=/apps/v1/path
Parameters
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
|
|
- /apps/v1/path
- /apps/v2/path
|
path: /apps/v1/path
Headers
cURL
curl "https://api.[your-domain.com]/v2/routes/reserved/domain/df90d978-64a0-4bf0-aee7-1d1ab1248ba4/host/host-10?path=/apps/v1/path" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI0NiIsImVtYWlsIjoiZW1haWwtMTc5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDI2MDE1Mzl9.t5_CVAkctqyJHaxNFkpSjvPrpxN2s9JAZynGofINshY" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
204 No Content
Headers