GET /v2/organizations/9d07d2a2-1ce6-429a-ad90-5f8f3a8d26dd/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.eyJ1c2VyX2lkIjoidWFhLWlkLTE0MSIsImVtYWlsIjoiZW1haWwtODFAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0MjYwMTUzMH0.shq1KcSIP6ZVyhZI7iM63tyoDD6T1Lg_dAQzjwuX5Xs Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/organizations/9d07d2a2-1ce6-429a-ad90-5f8f3a8d26dd/services" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE0MSIsImVtYWlsIjoiZW1haWwtODFAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0MjYwMTUzMH0.shq1KcSIP6ZVyhZI7iM63tyoDD6T1Lg_dAQzjwuX5Xs" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "aa5af933-a215-4ed8-987b-8e1bf550abc6", "url": "/v2/services/aa5af933-a215-4ed8-987b-8e1bf550abc6", "created_at": "2015-09-11T18:38:50Z", "updated_at": null }, "entity": { "label": "label-12", "provider": null, "url": null, "description": "desc-27", "long_description": null, "version": null, "info_url": null, "active": true, "bindable": true, "unique_id": "cadacd6b-35c5-4c97-93b7-3db9118a305e", "extra": null, "tags": [ ], "requires": [ ], "documentation_url": null, "service_broker_guid": "fac9e1ca-d94a-4d41-88f9-fcfc74fb2b33", "plan_updateable": false, "service_plans_url": "/v2/services/aa5af933-a215-4ed8-987b-8e1bf550abc6/service_plans" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: 6094e33d-e9fa-464a-ae57-a1da74338761 Content-Length: 998 X-Content-Type-Options: nosniff