Retrieve a Particular Service Plan
GET /v2/service_plans/:guid
Request
Route
GET /v2/service_plans/775d0046-7505-40a4-bfad-ca472485e332
Body
Name |
Description |
Default |
Valid Values |
Example Values |
guid
|
The guid of the service plan
|
|
|
|
public
|
A boolean describing that the plan is visible to the all users
|
true
|
|
|
Headers
cURL
curl "https://api.[your-domain.com]/v2/service_plans/775d0046-7505-40a4-bfad-ca472485e332" -X GET \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE2MCIsImVtYWlsIjoiZW1haWwtMTE1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg4OTB9.LU_EyvYwa11qkiee2NjOjsJ8hnlmVPyWNw8k8yJoOOs" \
-H "Host: example.org" \
-H "Cookie: "
Response
Status
200 OK
Body
{
"metadata": {
"guid": "775d0046-7505-40a4-bfad-ca472485e332",
"url": "/v2/service_plans/775d0046-7505-40a4-bfad-ca472485e332",
"created_at": "2016-06-08T16:41:30Z",
"updated_at": "2016-06-08T16:41:26Z"
},
"entity": {
"name": "name-1573",
"free": false,
"description": "desc-107",
"service_guid": "a00cacc0-0ca6-422e-91d3-6b22bcd33450",
"extra": null,
"unique_id": "35c56e06-f0c6-4abe-b158-b7c24c889905",
"public": true,
"active": true,
"bindable": true,
"plan_updateable": true,
"maintenance_info": {
"version": "2.0",
"description": "OS image update.\nExpect downtime."
},
"service_url": "/v2/services/a00cacc0-0ca6-422e-91d3-6b22bcd33450",
"service_instances_url": "/v2/service_plans/775d0046-7505-40a4-bfad-ca472485e332/service_instances",
"schemas": {
"service_instance": {
"create": {},
"update": {}
},
"service_binding": {
"create": {}
}
}
}
}
Headers