GET /v2/organizations/dc823997-d0c5-4d97-ba48-42a01a193808/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 |
|
|
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIyNiIsImVtYWlsIjoiZW1haWwtMTUyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTE0MTM2ODd9.IC0iv0JldCIwfTH-RjVypniyRapJKBxH5IWo8pD9Rn8 Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/organizations/dc823997-d0c5-4d97-ba48-42a01a193808/services" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIyNiIsImVtYWlsIjoiZW1haWwtMTUyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTE0MTM2ODd9.IC0iv0JldCIwfTH-RjVypniyRapJKBxH5IWo8pD9Rn8" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "328c9207-e862-4ef3-9ff1-f7803b946d8f", "url": "/v2/services/328c9207-e862-4ef3-9ff1-f7803b946d8f", "created_at": "2015-12-22T18:28:07Z", "updated_at": null }, "entity": { "label": "label-29", "provider": null, "url": null, "description": "desc-53", "long_description": null, "version": null, "info_url": null, "active": true, "bindable": true, "unique_id": "3dd3bdeb-4b53-4e81-b3d8-501ee776979e", "extra": null, "tags": [ ], "requires": [ ], "documentation_url": null, "service_broker_guid": "6426e6fd-fc49-4f78-8fd0-307fd2298e17", "plan_updateable": false, "service_plans_url": "/v2/services/328c9207-e862-4ef3-9ff1-f7803b946d8f/service_plans" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: Content-Length: 998 X-Content-Type-Options: nosniff