GET /v2/organizations/2231f4e1-46ae-4e6e-95d5-9d2afe253349/services
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: active, label, provider, service_broker_guid |
|
|
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. |
|
|
orphan-relations | 0 - de-duplicate object entries in response |
|
|
exclude-relations | comma-delimited list of relations to drop from response |
|
|
include-relations | comma-delimited list of the only relations to include in response |
|
|
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM3MiIsImVtYWlsIjoiZW1haWwtMjY0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzY4Mjk3OTl9.nDQkUN_tZhhcFPvQwGwLMWT7mPj32Wp0oaNjSUicVDg Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/organizations/2231f4e1-46ae-4e6e-95d5-9d2afe253349/services" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM3MiIsImVtYWlsIjoiZW1haWwtMjY0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzY4Mjk3OTl9.nDQkUN_tZhhcFPvQwGwLMWT7mPj32Wp0oaNjSUicVDg" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "5acfb4dd-1d7f-453c-9b0a-bc50aad8396a", "url": "/v2/services/5acfb4dd-1d7f-453c-9b0a-bc50aad8396a", "created_at": "2015-07-06T23:23:19Z", "updated_at": null }, "entity": { "label": "label-67", "provider": null, "url": null, "description": "desc-201", "long_description": null, "version": null, "info_url": null, "active": true, "bindable": true, "unique_id": "92c2305d-a4a5-43c8-b060-b9501484d9ff", "extra": null, "tags": [ ], "requires": [ ], "documentation_url": null, "service_broker_guid": "16274702-7574-4713-b6fb-57d7b15df20c", "plan_updateable": false, "service_plans_url": "/v2/services/5acfb4dd-1d7f-453c-9b0a-bc50aad8396a/service_plans" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: 1e7a0cbe-213d-4aa6-a266-e51fd31ba75d Content-Length: 999 X-Content-Type-Options: nosniff