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.eyJ1c2VyX2lkIjoidWFhLWlkLTk4IiwiZW1haWwiOiJlbWFpbC02OUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDIyOTkwODcwfQ.fDpY3E9nHTzFOH1p1YVmSsVRuucCDMTFTRrW7DKesIM
Host: example.org
Cookie: 

Route

GET /v2/routes/767ad43f-b0ed-411c-9752-49ad4655155f

cURL

curl "https://api.[your-domain.com]/v2/routes/767ad43f-b0ed-411c-9752-49ad4655155f" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTk4IiwiZW1haWwiOiJlbWFpbC02OUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDIyOTkwODcwfQ.fDpY3E9nHTzFOH1p1YVmSsVRuucCDMTFTRrW7DKesIM" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: db27a0c6-2ce9-4958-83ba-564c2f116586
Content-Length: 570
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "767ad43f-b0ed-411c-9752-49ad4655155f",
    "url": "/v2/routes/767ad43f-b0ed-411c-9752-49ad4655155f",
    "created_at": "2015-01-27T19:14:29Z",
    "updated_at": null
  },
  "entity": {
    "host": "host-10",
    "domain_guid": "2d564104-e583-4a78-ab88-acb6cd9a5ff9",
    "space_guid": "66733bdf-77d7-4761-b57d-adb54bbeb7c8",
    "domain_url": "/v2/domains/2d564104-e583-4a78-ab88-acb6cd9a5ff9",
    "space_url": "/v2/spaces/66733bdf-77d7-4761-b57d-adb54bbeb7c8",
    "apps_url": "/v2/routes/767ad43f-b0ed-411c-9752-49ad4655155f/apps"
  }
}