Name | Description | Default | Valid Values | Example Values |
---|---|---|---|---|
guid | The guid of the Service Plan. |
|
|
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, service_plan_guid, service_binding_guid, gateway_name, organization_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.eyJ1c2VyX2lkIjoidWFhLWlkLTM2MyIsImVtYWlsIjoiZW1haWwtMjY2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTk5ODk5ODB9.yemZhbx3MxqmWFGdcwL5YthCaPxtZRqTv6AatMsd2bU Host: example.org Cookie:
GET /v2/service_plans/f2637ca2-33a4-4fed-ba6b-82153d9b8b6b/service_instances
curl "https://api.[your-domain.com]/v2/service_plans/f2637ca2-33a4-4fed-ba6b-82153d9b8b6b/service_instances" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM2MyIsImVtYWlsIjoiZW1haWwtMjY2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTk5ODk5ODB9.yemZhbx3MxqmWFGdcwL5YthCaPxtZRqTv6AatMsd2bU" \ -H "Host: example.org" \ -H "Cookie: "
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: 99b77f31-e64f-4b64-9b84-0d11fe3fb55d Content-Length: 996 X-Content-Type-Options: nosniff
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "4438e0a6-6745-4f07-86ff-f987b2bc060d", "url": "/v2/service_instances/4438e0a6-6745-4f07-86ff-f987b2bc060d", "created_at": "2014-12-24T01:39:39+00:00", "updated_at": null }, "entity": { "name": "name-1927", "credentials": { "creds-key-585": "creds-val-585" }, "service_plan_guid": "f2637ca2-33a4-4fed-ba6b-82153d9b8b6b", "space_guid": "2f79b730-3437-42a5-aedb-34ce080e078b", "gateway_data": null, "dashboard_url": null, "type": "managed_service_instance", "space_url": "/v2/spaces/2f79b730-3437-42a5-aedb-34ce080e078b", "service_plan_url": "/v2/service_plans/f2637ca2-33a4-4fed-ba6b-82153d9b8b6b", "service_bindings_url": "/v2/service_instances/4438e0a6-6745-4f07-86ff-f987b2bc060d/service_bindings" } } ] }