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.eyJ1c2VyX2lkIjoidWFhLWlkLTQ2MCIsImVtYWlsIjoiZW1haWwtMzI4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTg4NTU2OTN9.Mi62CNkXGiD96M8X4N8IpucSIU9Bguwlsw8ZrLTR8A0 Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/service_brokers" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQ2MCIsImVtYWlsIjoiZW1haWwtMzI4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTg4NTU2OTN9.Mi62CNkXGiD96M8X4N8IpucSIU9Bguwlsw8ZrLTR8A0" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 3, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "3d02c680-e2e3-4012-90c2-001163fb7788", "url": "/v2/service_brokers/3d02c680-e2e3-4012-90c2-001163fb7788", "created_at": "2016-03-17T21:41:33Z", "updated_at": "2016-03-17T21:41:33Z" }, "entity": { "name": "name-2658", "broker_url": "https://foo.com/url-103", "auth_username": "auth_username-78", "space_guid": "e5a92f36-bca9-40b7-9f04-017d6cc45bd1" } }, { "metadata": { "guid": "649cfd0e-c421-4a9f-bdd0-84e8b9b1ba7b", "url": "/v2/service_brokers/649cfd0e-c421-4a9f-bdd0-84e8b9b1ba7b", "created_at": "2016-03-17T21:41:33Z", "updated_at": null }, "entity": { "name": "name-2659", "broker_url": "https://foo.com/url-104", "auth_username": "auth_username-79", "space_guid": null } }, { "metadata": { "guid": "53394aa2-5daf-431b-8f47-e2311375dc08", "url": "/v2/service_brokers/53394aa2-5daf-431b-8f47-e2311375dc08", "created_at": "2016-03-17T21:41:33Z", "updated_at": null }, "entity": { "name": "name-2660", "broker_url": "https://foo.com/url-105", "auth_username": "auth_username-80", "space_guid": null } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: Content-Length: 1423 X-Content-Type-Options: nosniff