Home
Version 3
Routes API

Routes API

Check a Route exists

GET /v2/routes/reserved/domain/:domain_guid/host/:host?path=:path

Request

Route

GET /v2/routes/reserved/domain/5812d9d5-ce8b-4c81-ba83-7eec4cc7beb5/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

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEyOSIsImVtYWlsIjoiZW1haWwtODRAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQzODY0MTc5Mn0.VSNdyED4_4F3T9U-URh59TJALPrsbfinqw7LK9NYmic
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/routes/reserved/domain/5812d9d5-ce8b-4c81-ba83-7eec4cc7beb5/host/host-10?path=/apps/v1/path" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEyOSIsImVtYWlsIjoiZW1haWwtODRAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQzODY0MTc5Mn0.VSNdyED4_4F3T9U-URh59TJALPrsbfinqw7LK9NYmic" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: 7ec19f05-c45c-48f0-889f-ddf963153a41
X-Content-Type-Options: nosniff