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/0efe6084-5c4d-4d30-a570-1960fb94411f

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM2NCIsImVtYWlsIjoiZW1haWwtMjY2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjE5NTg0MTJ9.Wq34_urKo9Ah2miwjL_XMXYrtO-JiDr0S-7MmdHisps
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/route_mappings/0efe6084-5c4d-4d30-a570-1960fb94411f" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM2NCIsImVtYWlsIjoiZW1haWwtMjY2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjE5NTg0MTJ9.Wq34_urKo9Ah2miwjL_XMXYrtO-JiDr0S-7MmdHisps" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "0efe6084-5c4d-4d30-a570-1960fb94411f",
    "url": "/v2/route_mappings/0efe6084-5c4d-4d30-a570-1960fb94411f",
    "created_at": "2016-04-22T19:33:32Z",
    "updated_at": null
  },
  "entity": {
    "app_port": 8888,
    "app_guid": "518bb2cb-8396-4d3b-8bc0-2e3bb87d2c05",
    "route_guid": "59070eb4-988a-4c49-b99f-ffc34de7a796",
    "app_url": "/v2/apps/518bb2cb-8396-4d3b-8bc0-2e3bb87d2c05",
    "route_url": "/v2/routes/59070eb4-988a-4c49-b99f-ffc34de7a796"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 149aa87a-2b87-4b53-997a-5fd35dad80f0
Content-Length: 496
X-Content-Type-Options: nosniff