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/320eef15-73b6-4e30-80a7-e3845ed5d3c8

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEwMyIsImVtYWlsIjoiZW1haWwtNjdAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ2MTM3NDYyNn0.WmQBUZqeDKlHZqHw3iEsGb3qF1my8tASMB6Rj_JVlA8
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/route_mappings/320eef15-73b6-4e30-80a7-e3845ed5d3c8" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEwMyIsImVtYWlsIjoiZW1haWwtNjdAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ2MTM3NDYyNn0.WmQBUZqeDKlHZqHw3iEsGb3qF1my8tASMB6Rj_JVlA8" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "320eef15-73b6-4e30-80a7-e3845ed5d3c8",
    "url": "/v2/route_mappings/320eef15-73b6-4e30-80a7-e3845ed5d3c8",
    "created_at": "2016-04-16T01:23:46Z",
    "updated_at": null
  },
  "entity": {
    "app_port": 8888,
    "app_guid": "3a761ab7-6caf-4e5e-bda9-872064556248",
    "route_guid": "4aee11c6-7bec-4eac-81db-a44dcbce5fb0",
    "app_url": "/v2/apps/3a761ab7-6caf-4e5e-bda9-872064556248",
    "route_url": "/v2/routes/4aee11c6-7bec-4eac-81db-a44dcbce5fb0"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 0d2e4101-e000-476e-9b03-f6bbbcdfdc40
Content-Length: 496
X-Content-Type-Options: nosniff