Home
Version 3
Routes API

Routes API

Retrieve a Particular Route

GET /v2/routes/:guid

Fields

Name Description Default Valid Values Example Values

Parameters

Name Description Valid Values Example Values
guid The guid of the Route

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEzOCIsImVtYWlsIjoiZW1haWwtOTBAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNDEzNzM2Nn0.iV8dCrTd1CfwUlP0KtoVnhu884VtcWVr8hjo-r-cFO8
Host: example.org
Cookie: 

Route

GET /v2/routes/eff5fb80-52e6-47ed-aa06-5ddb77fda69f

cURL

curl "https://api.[your-domain.com]/v2/routes/eff5fb80-52e6-47ed-aa06-5ddb77fda69f" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEzOCIsImVtYWlsIjoiZW1haWwtOTBAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNDEzNzM2Nn0.iV8dCrTd1CfwUlP0KtoVnhu884VtcWVr8hjo-r-cFO8" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: e7ff0413-d153-42a4-8a24-bea48d7abe36
Content-Length: 569
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "eff5fb80-52e6-47ed-aa06-5ddb77fda69f",
    "url": "/v2/routes/eff5fb80-52e6-47ed-aa06-5ddb77fda69f",
    "created_at": "2015-02-10T01:42:46Z",
    "updated_at": null
  },
  "entity": {
    "host": "host-6",
    "domain_guid": "1ad7b9ba-ea5b-4387-a8bc-7d029309403e",
    "space_guid": "69a3ec3f-101e-4b82-a4d5-dcd5f19fbda4",
    "domain_url": "/v2/domains/1ad7b9ba-ea5b-4387-a8bc-7d029309403e",
    "space_url": "/v2/spaces/69a3ec3f-101e-4b82-a4d5-dcd5f19fbda4",
    "apps_url": "/v2/routes/eff5fb80-52e6-47ed-aa06-5ddb77fda69f/apps"
  }
}