Fetching staged CPI configs

Fetching staged CPI configs
Fetching staged CPI configs

Returns CPI configs generated based on your current settings. The generated CPI configs are used during Apply Changes.

Request
URI
GET
https://{opsmanager-installation}/api/v0/staged/cpi_config
COPY
Responses
200

OK

Returns BoshCpiConfig of type(s) application/json
{
    "cpis": [
        {
            "name": "string",
            "type": "string",
            "migrated_from": [
                {
                    "name": "string"
                }
            ],
            "properties": {}
        }
    ],
    "memo": {}
}
array of cpis
cpis
Optional

cpis

object
memo
Optional

memo


400

Setup is not completed

Returns RequireSetupCompleted of type(s) application/json
{
    "errors": {
        "errors": [
            "string"
        ]
    }
}
object
errors
Optional

errors


401

Unauthorized

Returns UnauthorizedResponse of type(s) application/json
{
    "errors": {
        "errors": [
            "string"
        ]
    }
}
object
errors
Optional

errors


403

Forbidden

Returns ForbiddenResponse of type(s) application/json
{
    "errors": {
        "errors": [
            "string"
        ]
    }
}
object
errors
Optional

errors


Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/api/v0/staged/cpi_config