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/304bead7-ad5a-4f6e-a093-f2a85d30c54a

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQxOSIsImVtYWlsIjoiZW1haWwtMjg4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjA1MDY2NjF9.xFLrVK7fqTxVrCjrQtMtHk2IJspROluGBW5pmQGs3es
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/route_mappings/304bead7-ad5a-4f6e-a093-f2a85d30c54a" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQxOSIsImVtYWlsIjoiZW1haWwtMjg4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjA1MDY2NjF9.xFLrVK7fqTxVrCjrQtMtHk2IJspROluGBW5pmQGs3es" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "304bead7-ad5a-4f6e-a093-f2a85d30c54a",
    "url": "/v2/route_mappings/304bead7-ad5a-4f6e-a093-f2a85d30c54a",
    "created_at": "2016-04-06T00:17:40Z",
    "updated_at": null
  },
  "entity": {
    "app_port": 8888,
    "app_guid": "65489f49-f437-431a-8f58-c118ce08d83a",
    "route_guid": "c7ce0cac-f1d6-405c-83fd-c2d75513eb23",
    "app_url": "/v2/apps/65489f49-f437-431a-8f58-c118ce08d83a",
    "route_url": "/v2/routes/c7ce0cac-f1d6-405c-83fd-c2d75513eb23"
  }
}

Headers

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