Home
Version 3
Routes API

Routes API

Retrieve a Particular Route

GET /v2/routes/:guid

Request

Route

GET /v2/routes/2dd58602-b818-4d9b-ad48-5370fc25ab7f

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI1MSIsImVtYWlsIjoiZW1haWwtMTg0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDI2MDE1Mzl9.sSoBdmiT50KnZho64Hn8AE_H6Uu9BTfKGfWIC7VnGso
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/routes/2dd58602-b818-4d9b-ad48-5370fc25ab7f" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI1MSIsImVtYWlsIjoiZW1haWwtMTg0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDI2MDE1Mzl9.sSoBdmiT50KnZho64Hn8AE_H6Uu9BTfKGfWIC7VnGso" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "2dd58602-b818-4d9b-ad48-5370fc25ab7f",
    "url": "/v2/routes/2dd58602-b818-4d9b-ad48-5370fc25ab7f",
    "created_at": "2015-09-11T18:38:59Z",
    "updated_at": null
  },
  "entity": {
    "host": "host-15",
    "path": "",
    "domain_guid": "63e516db-3961-41f7-8076-e5027011412c",
    "space_guid": "be99d156-1724-4839-810f-bb5725ac7561",
    "service_instance_guid": "1e995117-6ac7-47da-ae40-579cbecc4554",
    "domain_url": "/v2/domains/63e516db-3961-41f7-8076-e5027011412c",
    "space_url": "/v2/spaces/be99d156-1724-4839-810f-bb5725ac7561",
    "service_instance_url": "/v2/service_instances/1e995117-6ac7-47da-ae40-579cbecc4554",
    "apps_url": "/v2/routes/2dd58602-b818-4d9b-ad48-5370fc25ab7f/apps"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 5d8011fe-8b6f-4541-a539-31f3bf0b92f0
Content-Length: 745
X-Content-Type-Options: nosniff