GET /v2/organizations/a9335f97-4812-4ee8-a7e1-d179ebad461a/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.eyJ1c2VyX2lkIjoidWFhLWlkLTE1OCIsImVtYWlsIjoiZW1haWwtMTM1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDcxMTY4Mzh9.lUwzs0Rt6IRQ05dZAPFIG3LKRFdgMIfx7eoOI7Vesgc Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/organizations/a9335f97-4812-4ee8-a7e1-d179ebad461a/services" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE1OCIsImVtYWlsIjoiZW1haWwtMTM1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDcxMTY4Mzh9.lUwzs0Rt6IRQ05dZAPFIG3LKRFdgMIfx7eoOI7Vesgc" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "70af5eef-975d-498a-bdb9-c9f226d265f2", "url": "/v2/services/70af5eef-975d-498a-bdb9-c9f226d265f2", "created_at": "2015-11-03T00:53:58Z", "updated_at": null }, "entity": { "label": "label-38", "provider": null, "url": null, "description": "desc-164", "long_description": null, "version": null, "info_url": null, "active": true, "bindable": true, "unique_id": "f2e1a38a-2715-4f39-ae17-0390944eea99", "extra": null, "tags": [ ], "requires": [ ], "documentation_url": null, "service_broker_guid": "d6d52087-e64e-4c9d-9662-14db1f889dcb", "plan_updateable": false, "service_plans_url": "/v2/services/70af5eef-975d-498a-bdb9-c9f226d265f2/service_plans" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: 68a7fb6a-eb9f-4050-b81f-eb2a1889712b Content-Length: 999 X-Content-Type-Options: nosniff