Retrieve a Particular Service Plan
GET /v2/service_plans/:guid
Request
Route
GET /v2/service_plans/c75589b9-fd48-414f-8acf-5384458e5866
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Service Plan
|
|
|
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/c75589b9-fd48-414f-8acf-5384458e5866" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEyNiIsImVtYWlsIjoiZW1haWwtOTdAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNjE4Nzc0M30.gNefqb_O6cj8GWmwnH8KZxyE5BuO85CcYWIYqWBYw5E" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "c75589b9-fd48-414f-8acf-5384458e5866",
"url": "/v2/service_plans/c75589b9-fd48-414f-8acf-5384458e5866",
"created_at": "2015-03-05T19:15:43Z",
"updated_at": null
},
"entity": {
"name": "name-444",
"free": false,
"description": "desc-43",
"service_guid": "184bad0c-3c20-47bd-a9d2-32d4d07aa050",
"extra": null,
"unique_id": "b166a049-5cec-4ad9-bb3d-0e65071d611b",
"public": true,
"active": true,
"service_url": "/v2/services/184bad0c-3c20-47bd-a9d2-32d4d07aa050",
"service_instances_url": "/v2/service_plans/c75589b9-fd48-414f-8acf-5384458e5866/service_instances"
}
}
Headers