Shared Domains API

Retrieve a Particular Shared Domain

GET /v2/shared_domains/:guid

Request

Route

GET /v2/shared_domains/fa1385de-55ba-41d3-beb2-f83919c634d6

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMyNCIsImVtYWlsIjoiZW1haWwtMjE5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg4OTd9.OM0gT456w5raCyGC2d334JpvDigeVrxLxIuDonpW4j0
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/shared_domains/fa1385de-55ba-41d3-beb2-f83919c634d6" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMyNCIsImVtYWlsIjoiZW1haWwtMjE5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg4OTd9.OM0gT456w5raCyGC2d334JpvDigeVrxLxIuDonpW4j0" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "fa1385de-55ba-41d3-beb2-f83919c634d6",
    "url": "/v2/shared_domains/fa1385de-55ba-41d3-beb2-f83919c634d6",
    "created_at": "2016-06-08T16:41:33Z",
    "updated_at": "2016-06-08T16:41:26Z"
  },
  "entity": {
    "name": "customer-app-domain1.com",
    "internal": false,
    "router_group_guid": null,
    "router_group_type": null
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: d5764927-215f-4b98-8af7-76b60a9d8e01
Content-Length: 330
X-Content-Type-Options: nosniff