GET /v2/organizations/43734749-34c8-4faf-8070-ebedeb00f30d/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, 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.eyJ1c2VyX2lkIjoidWFhLWlkLTEzNCIsImVtYWlsIjoiZW1haWwtODBAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ1ODg1NTY2OH0.4qfvkM1RNXzXoVcvBDq7RPIxKX_ZsIEqgwkH6sMQO8Q Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/organizations/43734749-34c8-4faf-8070-ebedeb00f30d/services" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEzNCIsImVtYWlsIjoiZW1haWwtODBAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ1ODg1NTY2OH0.4qfvkM1RNXzXoVcvBDq7RPIxKX_ZsIEqgwkH6sMQO8Q" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "9a300320-2425-4445-b19d-306b922e5e58", "url": "/v2/services/9a300320-2425-4445-b19d-306b922e5e58", "created_at": "2016-03-17T21:41:08Z", "updated_at": null }, "entity": { "label": "label-5", "provider": null, "url": null, "description": "desc-28", "long_description": null, "version": null, "info_url": null, "active": true, "bindable": true, "unique_id": "8a38f157-110e-4b26-a34b-658b965884cf", "extra": null, "tags": [ ], "requires": [ ], "documentation_url": null, "service_broker_guid": "dbe2a5c4-33a2-4d99-8ae5-c9edb13b2e32", "plan_updateable": false, "service_plans_url": "/v2/services/9a300320-2425-4445-b19d-306b922e5e58/service_plans" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: Content-Length: 997 X-Content-Type-Options: nosniff