View A diff Of BOSH Director

View A diff Of BOSH Director
View a diff of BOSH Director

Returns the diff of the manifest, cloud config, CPI configs, and runtime configs between the staged state and last successful deployment of the BOSH director.

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

0K

Returns DirectorDiff of type(s) application/json
{
    "manifest": {
        "status": "string",
        "diff": "string",
        "from_installation_id": 0,
        "to_installed_id": "string"
    },
    "cloud_config": {
        "status": "string",
        "diff": "string",
        "from_installation_id": 0,
        "to_installed_id": "string"
    },
    "runtime_configs": [
        {
            "name": "string",
            "status": "string",
            "diff": "string",
            "from_installation_id": 0,
            "to_installed_id": "string"
        }
    ],
    "cpi_configs": [
        {
            "name": "string",
            "iaas_configuration_name": "string",
            "status": "string",
            "diff": "string",
            "from_installation_id": 0,
            "to_installed_id": "string"
        }
    ]
}
object
manifest
Optional

manifest

object
cloud_config
Optional

cloud_config

array of runtime_configs
runtime_configs
Optional

runtime_configs

array of cpi_configs
cpi_configs
Optional

cpi_configs


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"
        ]
    }
}

422

BOSH Director is not fully configured

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/director/diff