Home
Version 3
Routes API

Routes API

Retrieve a Particular Route

GET /v2/routes/:guid

Request

Route

GET /v2/routes/a7ef3724-17a2-4479-894e-2be0c955cf53

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI3OSIsImVtYWlsIjoiZW1haWwtMTg1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTE0MTM2ODl9.QbsLE4ZDbkSc2kDpF8M6UCVPcHFFR-kt2q-rQXq9hBo
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/routes/a7ef3724-17a2-4479-894e-2be0c955cf53" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI3OSIsImVtYWlsIjoiZW1haWwtMTg1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTE0MTM2ODl9.QbsLE4ZDbkSc2kDpF8M6UCVPcHFFR-kt2q-rQXq9hBo" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "a7ef3724-17a2-4479-894e-2be0c955cf53",
    "url": "/v2/routes/a7ef3724-17a2-4479-894e-2be0c955cf53",
    "created_at": "2015-12-22T18:28:09Z",
    "updated_at": null
  },
  "entity": {
    "host": "host-19",
    "path": "",
    "domain_guid": "8664b586-6709-4bab-9a28-80ba5836d6bb",
    "space_guid": "481ae883-e30e-4a2c-9d6d-f536e6428a5f",
    "service_instance_guid": "4b4f2222-05ed-4aa5-aa64-202e7bdbc184",
    "port": 0,
    "domain_url": "/v2/domains/8664b586-6709-4bab-9a28-80ba5836d6bb",
    "space_url": "/v2/spaces/481ae883-e30e-4a2c-9d6d-f536e6428a5f",
    "service_instance_url": "/v2/service_instances/4b4f2222-05ed-4aa5-aa64-202e7bdbc184",
    "apps_url": "/v2/routes/a7ef3724-17a2-4479-894e-2be0c955cf53/apps"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 
Content-Length: 760
X-Content-Type-Options: nosniff