Retrieve a Particular Service Plan
GET /v2/service_plans/:guid
Request
Route
GET /v2/service_plans/f6ceb8a2-e6fc-43d5-a11b-7ced9e1b47c7
Body
Name |
Description |
Default |
Valid Values |
Example Values |
guid
|
The guid of the service plan
|
|
|
|
name
|
The name of the service plan
|
|
|
|
free
|
A boolean describing if the service plan is free
|
|
|
|
description
|
A description of the service plan
|
|
|
- Let's you put data in your database!
|
extra
|
A JSON string with additional data about the plan
|
|
|
|
unique_id
|
A guid for the service plan in the service broker (not the same as the cloud controller guid)
|
|
|
|
public
|
A boolean describing that the plan is visible to the all users
|
true
|
|
|
service_guid
|
The guid of the related service
|
|
|
|
active
|
A boolean that determines whether plans can be used to create new instances.
|
|
|
|
Headers
cURL
curl "https://api.[your-domain.com]/v2/service_plans/f6ceb8a2-e6fc-43d5-a11b-7ced9e1b47c7" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE3MCIsImVtYWlsIjoiZW1haWwtMTI0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mzg2NDE3OTZ9.T9O55W29Heqa1-PQxauxN2e09J1h6frFqLpybCZYg6Y" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "f6ceb8a2-e6fc-43d5-a11b-7ced9e1b47c7",
"url": "/v2/service_plans/f6ceb8a2-e6fc-43d5-a11b-7ced9e1b47c7",
"created_at": "2015-07-27T22:43:16Z",
"updated_at": null
},
"entity": {
"name": "name-462",
"free": false,
"description": "desc-52",
"service_guid": "8ac39757-0f9d-4295-9b6f-e626f7ee3cd4",
"extra": null,
"unique_id": "2aa0162c-9c88-4084-ad1d-566a09e8d316",
"public": true,
"active": true,
"service_url": "/v2/services/8ac39757-0f9d-4295-9b6f-e626f7ee3cd4",
"service_instances_url": "/v2/service_plans/f6ceb8a2-e6fc-43d5-a11b-7ced9e1b47c7/service_instances"
}
}
Headers