Get Plan Definition Schema
This endpoint retrieves the plan definition schema for a specific service offering. The schema contains three components: a JSON schema (defining structure and validation rules), a UI schema (providing hints for rendering the configuration form), and a version string.
This endpoint is restricted to platform administrators and service administrators.
The endpoint attempts to fetch the schema from the broker. If the broker returns an error (including when the offering doesn't support plan definitions), the schema will be null.
The unique identifier for the resource
OK
{
"guid": "string",
"schema": {
"json_schema": {},
"ui_schema": {},
"version": "string"
},
"relationships": {
"service_offering": {
"data": {
"guid": "string"
}
}
},
"links": {
"self": {
"href": "string",
"method": "string"
},
"service_offering": {
"href": "string",
"method": "string"
}
}
}
Service offering GUID
The schema definition for plan configuration. Null if the offering doesn't support plan definitions or if the broker returns an error.
relationships
links
Unauthorized
{
"errors": [
{
"code": 0,
"detail": "string",
"title": "string"
}
]
}
errors
Not Found
{
"errors": [
{
"code": 0,
"detail": "string",
"title": "string"
}
]
}
errors
Internal Server Error
{
"errors": [
{
"code": 0,
"detail": "string",
"title": "string"
}
]
}
errors
curl -H 'Authorization: <value>' https://{api_host}/v3/service_offerings/{guid}/plan_definition_schema