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.eyJ1c2VyX2lkIjoidWFhLWlkLTI5MiIsImVtYWlsIjoiZW1haWwtMjE3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTU3NTQxNTB9.hMqyW7uZvbX53rzP_F1S5DcF4A1aoU4DjW7UO83KO0Q
Host: example.org
Cookie: 

Route

GET /v2/routes/d7190162-c4be-462b-8427-900d0a332432

cURL

curl "https://api.[your-domain.com]/v2/routes/d7190162-c4be-462b-8427-900d0a332432" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI5MiIsImVtYWlsIjoiZW1haWwtMjE3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTU3NTQxNTB9.hMqyW7uZvbX53rzP_F1S5DcF4A1aoU4DjW7UO83KO0Q" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 2aa71ec5-f8ad-4601-9246-dcf711a3e3b6
Content-Length: 575
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "d7190162-c4be-462b-8427-900d0a332432",
    "url": "/v2/routes/d7190162-c4be-462b-8427-900d0a332432",
    "created_at": "2014-11-05T01:02:30+00:00",
    "updated_at": null
  },
  "entity": {
    "host": "host-13",
    "domain_guid": "1df8a86b-ce7c-4671-a43f-7e7e49c92391",
    "space_guid": "4f57c3f9-fde1-41e4-b3a2-76661b18cb26",
    "domain_url": "/v2/domains/1df8a86b-ce7c-4671-a43f-7e7e49c92391",
    "space_url": "/v2/spaces/4f57c3f9-fde1-41e4-b3a2-76661b18cb26",
    "apps_url": "/v2/routes/d7190162-c4be-462b-8427-900d0a332432/apps"
  }
}