GET /v2/organizations/67cac980-16b9-4b02-8d93-72514ee71e0f/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.eyJ1c2VyX2lkIjoidWFhLWlkLTM5MyIsImVtYWlsIjoiZW1haWwtMjg4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTM4MzcyODR9.3sQ7KVNKSMDPlxmCBbdGU4AqiQiMAg2fYW8B0iRUUOA Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/organizations/67cac980-16b9-4b02-8d93-72514ee71e0f/services" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM5MyIsImVtYWlsIjoiZW1haWwtMjg4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTM4MzcyODR9.3sQ7KVNKSMDPlxmCBbdGU4AqiQiMAg2fYW8B0iRUUOA" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "885d13bc-8d76-4214-a76b-b17916c2a119", "url": "/v2/services/885d13bc-8d76-4214-a76b-b17916c2a119", "created_at": "2016-01-19T19:41:24Z", "updated_at": null }, "entity": { "label": "label-63", "provider": null, "url": null, "description": "desc-206", "long_description": null, "version": null, "info_url": null, "active": true, "bindable": true, "unique_id": "bf9b7235-8231-4d0e-a94c-702dbcd328ee", "extra": null, "tags": [ ], "requires": [ ], "documentation_url": null, "service_broker_guid": "e37ff508-34a8-4797-892e-d5730fb38327", "plan_updateable": false, "service_plans_url": "/v2/services/885d13bc-8d76-4214-a76b-b17916c2a119/service_plans" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: Content-Length: 999 X-Content-Type-Options: nosniff