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/0b84cdf8-3e5e-40e7-b720-a79660db05ea

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExNiIsImVtYWlsIjoiZW1haWwtODVAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ2MzYxODcwOX0.bhT4uwVEW0ukH4KRAoqJb5mauwc_X9jGqxgMJPQQl9c
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/shared_domains/0b84cdf8-3e5e-40e7-b720-a79660db05ea" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExNiIsImVtYWlsIjoiZW1haWwtODVAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ2MzYxODcwOX0.bhT4uwVEW0ukH4KRAoqJb5mauwc_X9jGqxgMJPQQl9c" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "0b84cdf8-3e5e-40e7-b720-a79660db05ea",
    "url": "/v2/shared_domains/0b84cdf8-3e5e-40e7-b720-a79660db05ea",
    "created_at": "2016-05-12T00:45:03Z",
    "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: 7d6e6995-7cd5-49aa-9f20-a3fdde8a8bfe
Content-Length: 330
X-Content-Type-Options: nosniff