Getting BOSH CPI Config from historical installations
Getting BOSH CPI Config from historical installations
Returns the BOSH CPI configs for a given installation id.
You can use GET /api/v0/installations to list the IDs and products guids of each historical installation.
Request
URI
GET
https://{opsmanager-installation}/api/v0/installations/{installation_id}/cpi_config
COPY
Path Parameters
number
installation_id
Required
The installation id
Responses
200
OK
{
"cpi_config": {
"cpis": [
{
"name": "string",
"type": "string",
"migrated_from": [
{
"name": "string"
}
],
"properties": {}
}
],
"memo": {}
}
}
400
Setup is not completed
Returns
RequireSetupCompleted
of type(s)
application/json
{
"errors": {
"errors": [
"string"
]
}
}
401
Unauthorized
Returns
UnauthorizedResponse
of type(s)
application/json
{
"errors": {
"errors": [
"string"
]
}
}
403
Forbidden
Returns
ForbiddenResponse
of type(s)
application/json
{
"errors": {
"errors": [
"string"
]
}
}
404
Installation not found
Returns
NestedErrorsResponseVariant
of type(s)
application/json
{
"errors": {
"errors": [
"string"
]
}
}
object
errors
Optional
errors
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/api/v0/installations/{installation_id}/cpi_config