GET /v2/organizations/e1e28e86-646a-41c9-9cc0-73156e6ccc02/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.eyJ1c2VyX2lkIjoidWFhLWlkLTMwNCIsImVtYWlsIjoiZW1haWwtMjI3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTY0NTIyNDF9.Zan6nK0oIyr093L_xC8FvPp05MLGtPeFxl97WAdYBlQ Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/organizations/e1e28e86-646a-41c9-9cc0-73156e6ccc02/services" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwNCIsImVtYWlsIjoiZW1haWwtMjI3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTY0NTIyNDF9.Zan6nK0oIyr093L_xC8FvPp05MLGtPeFxl97WAdYBlQ" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "3e22e7cb-10a4-456a-a6c9-8a5359a9fdaa", "url": "/v2/services/3e22e7cb-10a4-456a-a6c9-8a5359a9fdaa", "created_at": "2016-02-19T02:04:01Z", "updated_at": null }, "entity": { "label": "label-52", "provider": null, "url": null, "description": "desc-188", "long_description": null, "version": null, "info_url": null, "active": true, "bindable": true, "unique_id": "e9caea7a-f2a2-4693-a6ea-d6f8bb8aa224", "extra": null, "tags": [ ], "requires": [ ], "documentation_url": null, "service_broker_guid": "6c0047bc-3021-4d7e-8caf-771c1728fa15", "plan_updateable": false, "service_plans_url": "/v2/services/3e22e7cb-10a4-456a-a6c9-8a5359a9fdaa/service_plans" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: Content-Length: 999 X-Content-Type-Options: nosniff