GET /v2/organizations/2e6cd0d0-6012-4f5c-b88e-011020bc342c/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.eyJ1c2VyX2lkIjoidWFhLWlkLTIxMCIsImVtYWlsIjoiZW1haWwtMTcyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzIzMTM2MTZ9.fq6lViiEnqyN-luLJ8nXwIQBpfXGgj50fQaUo-n2P1s Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/organizations/2e6cd0d0-6012-4f5c-b88e-011020bc342c/services" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIxMCIsImVtYWlsIjoiZW1haWwtMTcyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzIzMTM2MTZ9.fq6lViiEnqyN-luLJ8nXwIQBpfXGgj50fQaUo-n2P1s" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "13116091-1a78-416d-a76d-2de9eea50ce1", "url": "/v2/services/13116091-1a78-416d-a76d-2de9eea50ce1", "created_at": "2015-05-15T16:53:36Z", "updated_at": null }, "entity": { "label": "label-29", "provider": null, "url": null, "description": "desc-134", "long_description": null, "version": null, "info_url": null, "active": true, "bindable": true, "unique_id": "46923b45-8fcd-4485-85e5-53a6247085db", "extra": null, "tags": [ ], "requires": [ ], "documentation_url": null, "service_broker_guid": "32740d18-b018-4dd0-a0e8-218bcd6f329c", "plan_updateable": false, "service_plans_url": "/v2/services/13116091-1a78-416d-a76d-2de9eea50ce1/service_plans" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: 9d2697b1-7162-469d-aa33-189d33341cff Content-Length: 999 X-Content-Type-Options: nosniff