Home
Version 3
Private Domains API

Private Domains API

Retrieve a Particular Private Domain

GET /v2/private_domains/:guid

Request

Route

GET /v2/private_domains/f7a02006-3050-4f0e-ba40-95420da00bc9

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQyMCIsImVtYWlsIjoiZW1haWwtMzEwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDE2NjI2MjB9.jr2oDDAWknyo2YSt93xCnjFF8SkFrAh1hzRq6rk25e8
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/private_domains/f7a02006-3050-4f0e-ba40-95420da00bc9" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQyMCIsImVtYWlsIjoiZW1haWwtMzEwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDE2NjI2MjB9.jr2oDDAWknyo2YSt93xCnjFF8SkFrAh1hzRq6rk25e8" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "f7a02006-3050-4f0e-ba40-95420da00bc9",
    "url": "/v2/private_domains/f7a02006-3050-4f0e-ba40-95420da00bc9",
    "created_at": "2015-08-31T21:50:18Z",
    "updated_at": null
  },
  "entity": {
    "name": "vcap.me",
    "owning_organization_guid": "43e4c130-7b35-4489-988b-3df68199adbc",
    "owning_organization_url": "/v2/organizations/43e4c130-7b35-4489-988b-3df68199adbc",
    "shared_organizations_url": "/v2/private_domains/f7a02006-3050-4f0e-ba40-95420da00bc9/shared_organizations"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: ff09eae5-aa12-4c93-8fcf-f1155c4a752a
Content-Length: 526
X-Content-Type-Options: nosniff