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: 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.eyJ1c2VyX2lkIjoidWFhLWlkLTExMiIsImVtYWlsIjoiZW1haWwtOTZAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQxNzQ2MjM1OH0.ERAMNgPsia4a4dwt3Ae2p1f12YFmQATg0WV84eV8MBE Host: example.org Cookie:
GET /v2/organizations/7c68f511-fa01-4b8a-ab03-c03fb5543626/services
curl "https://api.[your-domain.com]/v2/organizations/7c68f511-fa01-4b8a-ab03-c03fb5543626/services" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExMiIsImVtYWlsIjoiZW1haWwtOTZAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQxNzQ2MjM1OH0.ERAMNgPsia4a4dwt3Ae2p1f12YFmQATg0WV84eV8MBE" \ -H "Host: example.org" \ -H "Cookie: "
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: fa3a7c7a-0141-4764-85ee-5eaae386a5c3 Content-Length: 1006 X-Content-Type-Options: nosniff
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "ce4c364d-31f7-469e-90e7-1a0e58aef0c9", "url": "/v2/services/ce4c364d-31f7-469e-90e7-1a0e58aef0c9", "created_at": "2014-11-24T19:32:37+00:00", "updated_at": null }, "entity": { "label": "label-21", "provider": "provider-21", "url": "https://foo.com/url-34", "description": "desc-52", "long_description": null, "version": "version-21", "info_url": null, "active": true, "bindable": true, "unique_id": "06e75836-155e-48db-b8c7-c555176cc9fe", "extra": null, "tags": [ ], "requires": [ ], "documentation_url": null, "service_broker_guid": null, "plan_updateable": false, "service_plans_url": "/v2/services/ce4c364d-31f7-469e-90e7-1a0e58aef0c9/service_plans" } } ] }