GET /v2/organizations/57f19d8d-49a6-48e7-b69c-b4a1c1662d3a/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 |
|
|
Name | Description | Default | Valid Values | Example Values |
---|
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEyOSIsImVtYWlsIjoiZW1haWwtOTVAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNTk0ODY2NX0.TOXwoJ8-b_TTS2vqXjpO_t0gWmZSGxuGMNVcpMzOIVg Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/organizations/57f19d8d-49a6-48e7-b69c-b4a1c1662d3a/services" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEyOSIsImVtYWlsIjoiZW1haWwtOTVAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNTk0ODY2NX0.TOXwoJ8-b_TTS2vqXjpO_t0gWmZSGxuGMNVcpMzOIVg" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "f9c88943-104a-4353-b800-4f49fc6560e1", "url": "/v2/services/f9c88943-104a-4353-b800-4f49fc6560e1", "created_at": "2015-03-03T00:51:05Z", "updated_at": null }, "entity": { "label": "label-40", "provider": "provider-23", "url": "https://foo.com/url-61", "description": "desc-69", "long_description": null, "version": "version-23", "info_url": null, "active": true, "bindable": true, "unique_id": "81ae7b68-38ae-40d8-b6b6-010887d1ad43", "extra": null, "tags": [ ], "requires": [ ], "documentation_url": null, "service_broker_guid": null, "plan_updateable": false, "service_plans_url": "/v2/services/f9c88943-104a-4353-b800-4f49fc6560e1/service_plans" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: eeceb125-1ad8-4446-87d0-4120e903f5af Content-Length: 1001 X-Content-Type-Options: nosniff