Retrieve a Particular Service Plan
GET /v2/service_plans/:guid
Request
Route
GET /v2/service_plans/37715c0d-8a63-492f-9ea4-a93f4b1fe464
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/37715c0d-8a63-492f-9ea4-a93f4b1fe464" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI5NCIsImVtYWlsIjoiZW1haWwtMjI2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDUzNjIzMTR9.h9ks2rtjth0LyE3BZcv4kASm8JBJfBT_W7WfdpDXtVY" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "37715c0d-8a63-492f-9ea4-a93f4b1fe464",
"url": "/v2/service_plans/37715c0d-8a63-492f-9ea4-a93f4b1fe464",
"created_at": "2015-10-13T17:31:54Z",
"updated_at": null
},
"entity": {
"name": "name-1108",
"free": false,
"description": "desc-153",
"service_guid": "0361c6c0-1359-4047-bb7a-78f5708746b5",
"extra": null,
"unique_id": "002cfa18-66ac-45da-8251-d13bed652bb2",
"public": true,
"active": true,
"service_url": "/v2/services/0361c6c0-1359-4047-bb7a-78f5708746b5",
"service_instances_url": "/v2/service_plans/37715c0d-8a63-492f-9ea4-a93f4b1fe464/service_instances"
}
}
Headers