GET /v2/service_brokers
Name | Description | Valid Values | Example Values |
---|---|---|---|
q |
Parameters used to filter the result set. Format queries as <filter><op><value> Valid ops: : >= <= < > IN Valid filters: name, space_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.eyJ1c2VyX2lkIjoidWFhLWlkLTQ1NSIsImVtYWlsIjoiZW1haWwtMzIzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDI2MDE1NTR9.paHHwpzCHg1Uf5GXWQGiF51xeDnH-0p9Xlpx2Ms7J_M Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/service_brokers" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ1NSIsImVtYWlsIjoiZW1haWwtMzIzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDI2MDE1NTR9.paHHwpzCHg1Uf5GXWQGiF51xeDnH-0p9Xlpx2Ms7J_M" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 3, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "b7b146ae-615d-4334-981f-14975b7a209d", "url": "/v2/service_brokers/b7b146ae-615d-4334-981f-14975b7a209d", "created_at": "2015-09-11T18:39:14Z", "updated_at": "2015-09-11T18:39:14Z" }, "entity": { "name": "name-2440", "broker_url": "https://foo.com/url-103", "auth_username": "auth_username-94", "space_guid": "b300a6e1-3431-4b6d-8e8f-188f0d0e90c3" } }, { "metadata": { "guid": "0fdbd713-29b7-4780-9130-325785b07d98", "url": "/v2/service_brokers/0fdbd713-29b7-4780-9130-325785b07d98", "created_at": "2015-09-11T18:39:14Z", "updated_at": null }, "entity": { "name": "name-2441", "broker_url": "https://foo.com/url-104", "auth_username": "auth_username-95", "space_guid": null } }, { "metadata": { "guid": "7973993a-03a7-4af3-a5ee-8234c17a8730", "url": "/v2/service_brokers/7973993a-03a7-4af3-a5ee-8234c17a8730", "created_at": "2015-09-11T18:39:14Z", "updated_at": null }, "entity": { "name": "name-2442", "broker_url": "https://foo.com/url-105", "auth_username": "auth_username-96", "space_guid": null } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: b609ee56-79be-43e5-81e9-877ada7d2cee Content-Length: 1423 X-Content-Type-Options: nosniff