Name | Description | Default | Valid Values | Example Values |
---|
Name | Description | Valid Values | Example Values |
---|---|---|---|
guid | The guid of the Organization |
|
|
q |
Parameters used to filter the result set. Format queries as <filter><op><value> Valid ops: : >= <= < > IN Valid filters: name |
|
|
page | Page of results to fetch |
|
|
results-per-page | Number of results per page |
|
|
order-direction | Order of the results: asc (default) or desc |
|
|
inline-relations-depth | 0 - don't inline any relations and return URLs. Otherwise, inline to depth N. |
|
|
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIyMCIsImVtYWlsIjoiZW1haWwtMTYwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTU3NTQxNDJ9.5O_QILuLO_h_Cyf9P27JD8Uwibx7SYZkcnt7W2OcKxU Host: example.org Cookie:
GET /v2/organizations/69e48760-48a6-4015-b11f-f9abac4764a5/private_domains
curl "https://api.[your-domain.com]/v2/organizations/69e48760-48a6-4015-b11f-f9abac4764a5/private_domains" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIyMCIsImVtYWlsIjoiZW1haWwtMTYwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTU3NTQxNDJ9.5O_QILuLO_h_Cyf9P27JD8Uwibx7SYZkcnt7W2OcKxU" \ -H "Host: example.org" \ -H "Cookie: "
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: 86d44750-6ef7-4f88-b7b3-4680cee2448e Content-Length: 591 X-Content-Type-Options: nosniff
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "b6ea86fd-63c7-4f2c-beb6-2ed6a7191213", "url": "/v2/private_domains/b6ea86fd-63c7-4f2c-beb6-2ed6a7191213", "created_at": "2014-11-05T01:02:22+00:00", "updated_at": null }, "entity": { "name": "domain-32.example.com", "owning_organization_guid": "69e48760-48a6-4015-b11f-f9abac4764a5", "owning_organization_url": "/v2/organizations/69e48760-48a6-4015-b11f-f9abac4764a5" } } ] }