Routes Mapping API

Retrieve a Particular Route Mapping

GET /v2/route_mappings/:guid

Request

Route

GET /v2/route_mappings/93eb2527-81b9-4e15-8ba0-2fd8dd8c0c1c

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQyNiIsImVtYWlsIjoiZW1haWwtMjg4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg5MDJ9.2edr0D-2j156uV9_IlvGE9XY8__4GZZy2Fav2fAASPs
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/route_mappings/93eb2527-81b9-4e15-8ba0-2fd8dd8c0c1c" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQyNiIsImVtYWlsIjoiZW1haWwtMjg4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg5MDJ9.2edr0D-2j156uV9_IlvGE9XY8__4GZZy2Fav2fAASPs" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "93eb2527-81b9-4e15-8ba0-2fd8dd8c0c1c",
    "url": "/v2/route_mappings/93eb2527-81b9-4e15-8ba0-2fd8dd8c0c1c",
    "created_at": "2016-06-08T16:41:42Z",
    "updated_at": "2016-06-08T16:41:26Z"
  },
  "entity": {
    "app_port": 8888,
    "app_guid": "caf3e3a9-1f64-46d3-a0d5-a3d4ae3f4be4",
    "route_guid": "34931bf5-79d0-4303-b082-df023b3305ce",
    "app_url": "/v2/apps/caf3e3a9-1f64-46d3-a0d5-a3d4ae3f4be4",
    "route_url": "/v2/routes/34931bf5-79d0-4303-b082-df023b3305ce"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: acd5d54e-ea8a-4a3e-95c5-5a249a9e0bfb
Content-Length: 496
X-Content-Type-Options: nosniff