Retrieve a Particular Route
GET /v2/routes/:guid
Request
Route
GET /v2/routes/3682ced5-10d5-459a-bcd8-4765339eda8d
Headers
cURL
curl "https://api.[your-domain.com]/v2/routes/3682ced5-10d5-459a-bcd8-4765339eda8d" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEzNiIsImVtYWlsIjoiZW1haWwtOTFAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ2NjAwODg4OH0.8sPtNKRLGytY4UwPLTqWzSrQTe0DfSn-bT5b0cNS8pk" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "3682ced5-10d5-459a-bcd8-4765339eda8d",
"url": "/v2/routes/3682ced5-10d5-459a-bcd8-4765339eda8d",
"created_at": "2016-06-08T16:41:28Z",
"updated_at": "2016-06-08T16:41:26Z"
},
"entity": {
"host": "host-13",
"path": "",
"domain_guid": "e0424d83-b1c3-461c-872d-5baf63206c94",
"space_guid": "04e7458f-9cd5-4653-8b77-60d29b5b478d",
"service_instance_guid": "bcfb342f-58c0-4f91-8fee-94eb4d752aef",
"port": null,
"domain_url": "/v2/shared_domains/e0424d83-b1c3-461c-872d-5baf63206c94",
"space_url": "/v2/spaces/04e7458f-9cd5-4653-8b77-60d29b5b478d",
"service_instance_url": "/v2/service_instances/bcfb342f-58c0-4f91-8fee-94eb4d752aef",
"apps_url": "/v2/routes/3682ced5-10d5-459a-bcd8-4765339eda8d/apps",
"route_mappings_url": "/v2/routes/3682ced5-10d5-459a-bcd8-4765339eda8d/route_mappings"
}
}
Headers