Fetching deployed CPI configs

Fetching deployed CPI configs
Fetching deployed CPI configs

Returns most recently deployed CPI configs.

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

OK

{
    "cpi_config": {
        "cpis": [
            {
                "name": "string",
                "type": "string",
                "migrated_from": [
                    {
                        "name": "string"
                    }
                ],
                "properties": {}
            }
        ],
        "memo": {}
    }
}
cpi_config
Optional

cpi_config


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

BOSH Director has not been deployed

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

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