Home
Version 3
Routes API

Routes API

Retrieve a Particular Route

GET /v2/routes/:guid

Request

Route

GET /v2/routes/a3355382-4398-4133-8c7e-edc94a95ce54

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM3MiIsImVtYWlsIjoiZW1haWwtMjQwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQyNjA2NTR9.JeYTizhI2DmUeuSxOQ_jdZW6IwvKyA36k3ttabwfzKQ
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/routes/a3355382-4398-4133-8c7e-edc94a95ce54" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM3MiIsImVtYWlsIjoiZW1haWwtMjQwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQyNjA2NTR9.JeYTizhI2DmUeuSxOQ_jdZW6IwvKyA36k3ttabwfzKQ" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "a3355382-4398-4133-8c7e-edc94a95ce54",
    "url": "/v2/routes/a3355382-4398-4133-8c7e-edc94a95ce54",
    "created_at": "2015-09-30T23:30:53Z",
    "updated_at": null
  },
  "entity": {
    "host": "host-5",
    "path": "",
    "domain_guid": "cc7e9082-0ef1-4239-b87a-ba8b5917c1ad",
    "space_guid": "2f081f20-07b9-4ed7-bb8f-371c56c39429",
    "service_instance_guid": "61265ddf-bd7d-4c07-bd54-0b065ed678fc",
    "domain_url": "/v2/domains/cc7e9082-0ef1-4239-b87a-ba8b5917c1ad",
    "space_url": "/v2/spaces/2f081f20-07b9-4ed7-bb8f-371c56c39429",
    "service_instance_url": "/v2/service_instances/61265ddf-bd7d-4c07-bd54-0b065ed678fc",
    "apps_url": "/v2/routes/a3355382-4398-4133-8c7e-edc94a95ce54/apps"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 59ff722e-83d2-4d3c-8baa-2395885d2106
Content-Length: 744
X-Content-Type-Options: nosniff