Retrieve a Particular Service Plan
GET /v2/service_plans/:guid
Fields
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.
|
|
|
|
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Service Plan
|
|
|
Request
Headers
Route
GET /v2/service_plans/1649dee2-f8a3-4db3-b35f-90080a9c25eb
cURL
curl "https://api.[your-domain.com]/v2/service_plans/1649dee2-f8a3-4db3-b35f-90080a9c25eb" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE0NSIsImVtYWlsIjoiZW1haWwtMTA4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTU3NTQxMzd9.hIRbTZZQJfRyoSePUN8D5Vd07-Cf70iUld4ykBj5OzI" \
-H "Host: example.org" \
-H "Cookie: "
Response
Headers
Status
200 OK
Body
{
"metadata": {
"guid": "1649dee2-f8a3-4db3-b35f-90080a9c25eb",
"url": "/v2/service_plans/1649dee2-f8a3-4db3-b35f-90080a9c25eb",
"created_at": "2014-11-05T01:02:17+00:00",
"updated_at": null
},
"entity": {
"name": "name-664",
"free": false,
"description": "desc-58",
"service_guid": "1c9e109f-b66e-47fa-98d7-3c22640cc66b",
"extra": null,
"unique_id": "d666d641-d804-42ca-b699-e5673d878107",
"public": true,
"active": true,
"service_url": "/v2/services/1c9e109f-b66e-47fa-98d7-3c22640cc66b",
"service_instances_url": "/v2/service_plans/1649dee2-f8a3-4db3-b35f-90080a9c25eb/service_instances"
}
}