Home
Version 3
Shared Domains API

Shared Domains API

Retrieve a Particular Shared Domain

GET /v2/shared_domains/:guid

Request

Route

GET /v2/shared_domains/95fdf12f-7474-46f1-a028-d2b33ab3c651

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI1OSIsImVtYWlsIjoiZW1haWwtMTYxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjEzNzQ2MzN9.GsqqI5BtcGTi3tZTpko5bJIiNzBZOnlhb6Y3E-GJ6MQ
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/shared_domains/95fdf12f-7474-46f1-a028-d2b33ab3c651" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI1OSIsImVtYWlsIjoiZW1haWwtMTYxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjEzNzQ2MzN9.GsqqI5BtcGTi3tZTpko5bJIiNzBZOnlhb6Y3E-GJ6MQ" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "95fdf12f-7474-46f1-a028-d2b33ab3c651",
    "url": "/v2/shared_domains/95fdf12f-7474-46f1-a028-d2b33ab3c651",
    "created_at": "2016-04-16T01:23:45Z",
    "updated_at": null
  },
  "entity": {
    "name": "customer-app-domain1.com",
    "router_group_guid": null,
    "router_group_type": null
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 3020f112-a0a2-4095-8a38-de151dde55f6
Content-Length: 330
X-Content-Type-Options: nosniff