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 |
|
|
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.eyJ1c2VyX2lkIjoidWFhLWlkLTExOSIsImVtYWlsIjoiZW1haWwtMTE4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzIzMTM2MTN9.CKBufAgRP1vqJ_zrBCMw4fqpZsnc6v-PBjkSiaKzXaM Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/service_brokers" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExOSIsImVtYWlsIjoiZW1haWwtMTE4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzIzMTM2MTN9.CKBufAgRP1vqJ_zrBCMw4fqpZsnc6v-PBjkSiaKzXaM" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 3, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "19a063a7-0c11-4372-9135-b7168a4e8ee3", "url": "/v2/service_brokers/19a063a7-0c11-4372-9135-b7168a4e8ee3", "created_at": "2015-05-15T16:53:33Z", "updated_at": null }, "entity": { "name": "name-698", "broker_url": "https://foo.com/url-39", "auth_username": "auth_username-33" } }, { "metadata": { "guid": "cac1f6a9-426f-434f-b803-85bebf946278", "url": "/v2/service_brokers/cac1f6a9-426f-434f-b803-85bebf946278", "created_at": "2015-05-15T16:53:33Z", "updated_at": null }, "entity": { "name": "name-699", "broker_url": "https://foo.com/url-40", "auth_username": "auth_username-34" } }, { "metadata": { "guid": "0bb06a52-d8f0-436f-813d-9bfb2c287910", "url": "/v2/service_brokers/0bb06a52-d8f0-436f-813d-9bfb2c287910", "created_at": "2015-05-15T16:53:33Z", "updated_at": null }, "entity": { "name": "name-700", "broker_url": "https://foo.com/url-41", "auth_username": "auth_username-35" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: 63ec75d5-bba1-468e-b220-db264fa7c293 Content-Length: 1281 X-Content-Type-Options: nosniff