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.eyJ1c2VyX2lkIjoidWFhLWlkLTI5NSIsImVtYWlsIjoiZW1haWwtMjIwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTY1MjY3MTR9.gBTJDJ8XMkQir7qqSQEAYg-xJep4DJxLuK4khwwB5cY
Host: example.org
Cookie: 

Route

GET /v2/routes/31693203-f5cf-46c3-aec7-63a159b4fbb5

cURL

curl "https://api.[your-domain.com]/v2/routes/31693203-f5cf-46c3-aec7-63a159b4fbb5" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI5NSIsImVtYWlsIjoiZW1haWwtMjIwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTY1MjY3MTR9.gBTJDJ8XMkQir7qqSQEAYg-xJep4DJxLuK4khwwB5cY" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 50ba6d68-0319-47bd-a287-3c0235738d71
Content-Length: 575
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "31693203-f5cf-46c3-aec7-63a159b4fbb5",
    "url": "/v2/routes/31693203-f5cf-46c3-aec7-63a159b4fbb5",
    "created_at": "2014-11-13T23:38:34+00:00",
    "updated_at": null
  },
  "entity": {
    "host": "host-14",
    "domain_guid": "43f79ecf-864b-4aab-9a68-4bc548cd185f",
    "space_guid": "1e0e9577-ad7a-4e6d-b413-da3a9df876fe",
    "domain_url": "/v2/domains/43f79ecf-864b-4aab-9a68-4bc548cd185f",
    "space_url": "/v2/spaces/1e0e9577-ad7a-4e6d-b413-da3a9df876fe",
    "apps_url": "/v2/routes/31693203-f5cf-46c3-aec7-63a159b4fbb5/apps"
  }
}