Retrieve a Particular Service Plan
GET /v2/service_plans/:guid
Request
Route
GET /v2/service_plans/f8b9f9e4-c0c6-4a49-b32e-a68aa731d354
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/f8b9f9e4-c0c6-4a49-b32e-a68aa731d354" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM2OCIsImVtYWlsIjoiZW1haWwtMjcwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjY2MzM5MjJ9.rSbmwXg9iOclcpjHurvCTQ39s8snw91TfePHcZ7csjE" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "f8b9f9e4-c0c6-4a49-b32e-a68aa731d354",
"url": "/v2/service_plans/f8b9f9e4-c0c6-4a49-b32e-a68aa731d354",
"created_at": "2015-03-10T23:12:02Z",
"updated_at": null
},
"entity": {
"name": "name-2060",
"free": false,
"description": "desc-185",
"service_guid": "c01a65ca-dc6b-4222-a71c-843427e1ec42",
"extra": null,
"unique_id": "5eed1797-a084-4ea9-87db-e810c47ec8a8",
"public": true,
"active": true,
"service_url": "/v2/services/c01a65ca-dc6b-4222-a71c-843427e1ec42",
"service_instances_url": "/v2/service_plans/f8b9f9e4-c0c6-4a49-b32e-a68aa731d354/service_instances"
}
}
Headers