GET /v2/services/ad5e64d0-2a8b-48cf-813f-56ab612e4a53/service_plans
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: active, service_guid, service_instance_guid, service_broker_guid (Note that filtering on service_guid will return an empty list if you specify anything other than the guid included in the path.) |
|
|
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 |
---|---|---|---|---|
guid | The guid of the Service. |
|
|
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTkzIiwiZW1haWwiOiJlbWFpbC05MkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDU2NDUyMjI4fQ.WoYWr0IA4ybPQFoayY5SSBKKRalbv_USGfHzSsZ9O2o Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/services/ad5e64d0-2a8b-48cf-813f-56ab612e4a53/service_plans" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTkzIiwiZW1haWwiOiJlbWFpbC05MkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDU2NDUyMjI4fQ.WoYWr0IA4ybPQFoayY5SSBKKRalbv_USGfHzSsZ9O2o" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "total_results": 1, "total_pages": 1, "prev_url": null, "next_url": null, "resources": [ { "metadata": { "guid": "622995c0-7e7f-495b-af78-77934ddcd2da", "url": "/v2/service_plans/622995c0-7e7f-495b-af78-77934ddcd2da", "created_at": "2016-02-19T02:03:48Z", "updated_at": null }, "entity": { "name": "name-612", "free": false, "description": "desc-113", "service_guid": "ad5e64d0-2a8b-48cf-813f-56ab612e4a53", "extra": null, "unique_id": "29e0814d-4c2c-4195-9bdd-ea8cd12aab56", "public": true, "active": true, "service_url": "/v2/services/ad5e64d0-2a8b-48cf-813f-56ab612e4a53", "service_instances_url": "/v2/service_plans/622995c0-7e7f-495b-af78-77934ddcd2da/service_instances" } } ] }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: Content-Length: 841 X-Content-Type-Options: nosniff