Home
Version 3
Routes Mapping API

Routes Mapping API

Retrieve a Particular Route Mapping

GET /v2/route_mappings/:guid

Request

Route

GET /v2/route_mappings/d33f59f4-bc8b-4055-9ad7-67caf9ed2ca1

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIwOSIsImVtYWlsIjoiZW1haWwtMTcwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTg1OTk0NDF9.GQ0a1rKD4Y_rhX0SlMMiKKS65J5OopM47WiwHWY9OA4
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/route_mappings/d33f59f4-bc8b-4055-9ad7-67caf9ed2ca1" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIwOSIsImVtYWlsIjoiZW1haWwtMTcwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTg1OTk0NDF9.GQ0a1rKD4Y_rhX0SlMMiKKS65J5OopM47WiwHWY9OA4" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "d33f59f4-bc8b-4055-9ad7-67caf9ed2ca1",
    "url": "/v2/route_mappings/d33f59f4-bc8b-4055-9ad7-67caf9ed2ca1",
    "created_at": "2016-03-14T22:30:41Z",
    "updated_at": null
  },
  "entity": {
    "app_port": 8888,
    "app_guid": "14694510-d546-4ff4-8145-8675dd1227ac",
    "route_guid": "ce81c31d-cf19-4727-ac23-03223fafaeaf",
    "app_url": "/v2/apps/14694510-d546-4ff4-8145-8675dd1227ac",
    "route_url": "/v2/routes/ce81c31d-cf19-4727-ac23-03223fafaeaf"
  }
}

Headers

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