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.eyJ1c2VyX2lkIjoidWFhLWlkLTM2OSIsImVtYWlsIjoiZW1haWwtMjcxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQ0NzE3MDl9.nOCpc3eV-KKbsU75WuMgjLX6k_NVqGnYG5D2dEjNVlE
Host: example.org
Cookie: 

Route

GET /v2/routes/26ab2c8d-297e-4b86-98c4-f4e5899262ac

cURL

curl "https://api.[your-domain.com]/v2/routes/26ab2c8d-297e-4b86-98c4-f4e5899262ac" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM2OSIsImVtYWlsIjoiZW1haWwtMjcxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQ0NzE3MDl9.nOCpc3eV-KKbsU75WuMgjLX6k_NVqGnYG5D2dEjNVlE" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 32b38f7d-ebd0-4da3-9ed6-9b7d9a9c8da4
Content-Length: 570
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "26ab2c8d-297e-4b86-98c4-f4e5899262ac",
    "url": "/v2/routes/26ab2c8d-297e-4b86-98c4-f4e5899262ac",
    "created_at": "2015-02-13T22:35:09Z",
    "updated_at": null
  },
  "entity": {
    "host": "host-15",
    "domain_guid": "9930bbc9-9b34-4fc7-aa96-13f036c1330c",
    "space_guid": "11b451d0-554b-4e45-870c-67288ab5445c",
    "domain_url": "/v2/domains/9930bbc9-9b34-4fc7-aa96-13f036c1330c",
    "space_url": "/v2/spaces/11b451d0-554b-4e45-870c-67288ab5445c",
    "apps_url": "/v2/routes/26ab2c8d-297e-4b86-98c4-f4e5899262ac/apps"
  }
}