Retrieve a Particular Route
GET /v2/routes/:guid
Request
Route
GET /v2/routes/54426107-64d2-4ec1-8e1b-e8f3f576d38c
Headers
cURL
curl "https://api.[your-domain.com]/v2/routes/54426107-64d2-4ec1-8e1b-e8f3f576d38c" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM5NCIsImVtYWlsIjoiZW1haWwtMjY1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTMzMTA5OTB9.M2mf-UTXXnzt9zdkkCYC_KrQb2uUw9rIAdAskS7_LXY" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "54426107-64d2-4ec1-8e1b-e8f3f576d38c",
"url": "/v2/routes/54426107-64d2-4ec1-8e1b-e8f3f576d38c",
"created_at": "2016-01-13T17:29:50Z",
"updated_at": null
},
"entity": {
"host": "host-16",
"path": "",
"domain_guid": "a8421356-0199-46f9-a8a4-3a070be67539",
"space_guid": "10a21fce-cd3f-4249-a489-66cebeda867a",
"service_instance_guid": "5871a4a2-2e8e-480f-88d8-3430baa0172c",
"port": 0,
"domain_url": "/v2/domains/a8421356-0199-46f9-a8a4-3a070be67539",
"space_url": "/v2/spaces/10a21fce-cd3f-4249-a489-66cebeda867a",
"service_instance_url": "/v2/service_instances/5871a4a2-2e8e-480f-88d8-3430baa0172c",
"apps_url": "/v2/routes/54426107-64d2-4ec1-8e1b-e8f3f576d38c/apps"
}
}
Headers