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.eyJ1c2VyX2lkIjoidWFhLWlkLTI2NyIsImVtYWlsIjoiZW1haWwtMTY0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQyNjA2NDd9.8D2-67yrvmJ9TvqvSdC2DMv4Nn92wRCBuXvP9zxdkGg Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/service_brokers" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI2NyIsImVtYWlsIjoiZW1haWwtMTY0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQyNjA2NDd9.8D2-67yrvmJ9TvqvSdC2DMv4Nn92wRCBuXvP9zxdkGg" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 3, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "23bff92d-8339-4412-9970-492b59f0d3ee", "url": "/v2/service_brokers/23bff92d-8339-4412-9970-492b59f0d3ee", "created_at": "2015-09-30T23:30:46Z", "updated_at": "2015-09-30T23:30:46Z" }, "entity": { "name": "name-1532", "broker_url": "https://foo.com/url-40", "auth_username": "auth_username-37", "space_guid": "09951fe1-4f7d-4b5e-b3fb-d829719a9570" } }, { "metadata": { "guid": "0b5dfe59-4c1e-4176-a6ea-96b6e5614ad1", "url": "/v2/service_brokers/0b5dfe59-4c1e-4176-a6ea-96b6e5614ad1", "created_at": "2015-09-30T23:30:46Z", "updated_at": null }, "entity": { "name": "name-1533", "broker_url": "https://foo.com/url-41", "auth_username": "auth_username-38", "space_guid": null } }, { "metadata": { "guid": "9edd1b83-4e73-4cc0-ac71-918647a4d953", "url": "/v2/service_brokers/9edd1b83-4e73-4cc0-ac71-918647a4d953", "created_at": "2015-09-30T23:30:46Z", "updated_at": null }, "entity": { "name": "name-1534", "broker_url": "https://foo.com/url-42", "auth_username": "auth_username-39", "space_guid": null } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: b0ef895e-7d2e-4057-bd68-ef9023a17354 Content-Length: 1420 X-Content-Type-Options: nosniff