Home
Version 3
Routes API

Routes API

Retrieve a Particular Route

GET /v2/routes/:guid

Request

Route

GET /v2/routes/68210ae4-12ba-41af-9291-d06bed0acea7

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ0IiwiZW1haWwiOiJlbWFpbC00MkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI2NjMzODk3fQ.osOHPED1anjGeljW00IzvTGa-WDPSrF2_gMMwBQotyY
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/routes/68210ae4-12ba-41af-9291-d06bed0acea7" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ0IiwiZW1haWwiOiJlbWFpbC00MkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI2NjMzODk3fQ.osOHPED1anjGeljW00IzvTGa-WDPSrF2_gMMwBQotyY" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "68210ae4-12ba-41af-9291-d06bed0acea7",
    "url": "/v2/routes/68210ae4-12ba-41af-9291-d06bed0acea7",
    "created_at": "2015-03-10T23:11:37Z",
    "updated_at": null
  },
  "entity": {
    "host": "host-9",
    "domain_guid": "e075da41-6b53-4f08-9fe0-b765d439af66",
    "space_guid": "9ac29a4b-1c70-496b-b54a-841c986724e8",
    "domain_url": "/v2/domains/e075da41-6b53-4f08-9fe0-b765d439af66",
    "space_url": "/v2/spaces/9ac29a4b-1c70-496b-b54a-841c986724e8",
    "apps_url": "/v2/routes/68210ae4-12ba-41af-9291-d06bed0acea7/apps"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 570fe7e9-f343-4c22-915b-0aeff394ee3d
Content-Length: 569
X-Content-Type-Options: nosniff