Home
Version 3
Routes API

Routes API

Retrieve a Particular Route

GET /v2/routes/:guid

Request

Route

GET /v2/routes/b2fc0167-969a-4865-b3fd-6de487ef842f

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTYiLCJlbWFpbCI6ImVtYWlsLTZAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQzMjMxMzYwM30.Ws_MIEKX-RJESFJVnvb_BV6go8JMFOZdY9fFYMuH9Jk
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/routes/b2fc0167-969a-4865-b3fd-6de487ef842f" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTYiLCJlbWFpbCI6ImVtYWlsLTZAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQzMjMxMzYwM30.Ws_MIEKX-RJESFJVnvb_BV6go8JMFOZdY9fFYMuH9Jk" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "b2fc0167-969a-4865-b3fd-6de487ef842f",
    "url": "/v2/routes/b2fc0167-969a-4865-b3fd-6de487ef842f",
    "created_at": "2015-05-15T16:53:23Z",
    "updated_at": null
  },
  "entity": {
    "host": "host-6",
    "path": "",
    "domain_guid": "4a637cd4-9612-4e91-a609-70294ed05bb6",
    "space_guid": "817b2c50-0622-4d3f-b692-02d96fcd04ae",
    "domain_url": "/v2/domains/4a637cd4-9612-4e91-a609-70294ed05bb6",
    "space_url": "/v2/spaces/817b2c50-0622-4d3f-b692-02d96fcd04ae",
    "apps_url": "/v2/routes/b2fc0167-969a-4865-b3fd-6de487ef842f/apps"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 6139b7e3-02a4-4a45-900e-aa429837a503
Content-Length: 585
X-Content-Type-Options: nosniff