Retrieve a Particular Route
GET /v2/routes/:guid
Request
Route
GET /v2/routes/a059baac-7237-4342-a9b0-1bf373af5c24
Headers
cURL
curl "https://api.[your-domain.com]/v2/routes/a059baac-7237-4342-a9b0-1bf373af5c24" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM2MyIsImVtYWlsIjoiZW1haWwtMjU0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDE2NjI2MTV9.RRuLa9BgxNUUh7lTi7YZoBRgiGu8e_pwf4cnUGB_iHA" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "a059baac-7237-4342-a9b0-1bf373af5c24",
"url": "/v2/routes/a059baac-7237-4342-a9b0-1bf373af5c24",
"created_at": "2015-08-31T21:50:15Z",
"updated_at": null
},
"entity": {
"host": "host-22",
"path": "",
"domain_guid": "28cd7ff5-6dd7-4d03-b020-c4c517f47b4a",
"space_guid": "c4c07b87-a776-4ea2-8ae7-c6efa16d567b",
"service_instance_guid": "ebe36986-de7b-453c-94ea-c5ad719694fd",
"domain_url": "/v2/domains/28cd7ff5-6dd7-4d03-b020-c4c517f47b4a",
"space_url": "/v2/spaces/c4c07b87-a776-4ea2-8ae7-c6efa16d567b",
"service_instance_url": "/v2/service_instances/ebe36986-de7b-453c-94ea-c5ad719694fd",
"apps_url": "/v2/routes/a059baac-7237-4342-a9b0-1bf373af5c24/apps"
}
}
Headers