View A list Of pending changes

View A list Of pending changes
View a list of pending changes

List of products and errands, and any pending changes that might be applied.

Products will be listed in deployment order.

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

OK

Returns PendingChanges of type(s) application/json
{
    "product_changes": [
        {
            "guid": "string",
            "action": "string",
            "staged": {
                "guid": "string",
                "identifier": "string",
                "label": "string",
                "version": "string",
                "depends_on": [
                    {
                        "identifier": "string",
                        "product_version": "string",
                        "optional": false,
                        "status": "string"
                    }
                ],
                "stemcells": [
                    {
                        "label": "string",
                        "name": "string",
                        "os": "string",
                        "version": "string"
                    }
                ]
            },
            "deployed": {
                "guid": "string",
                "identifier": "string",
                "label": "string",
                "version": "string",
                "depends_on": [
                    {
                        "identifier": "string",
                        "product_version": "string",
                        "optional": false,
                        "status": "string"
                    }
                ],
                "stemcells": [
                    {
                        "label": "string",
                        "name": "string",
                        "os": "string",
                        "version": "string"
                    }
                ]
            },
            "last_successful_deployed": {
                "guid": "string",
                "identifier": "string",
                "label": "string",
                "version": "string",
                "depends_on": [
                    {
                        "identifier": "string",
                        "product_version": "string",
                        "optional": false,
                        "status": "string"
                    }
                ],
                "stemcells": [
                    {
                        "label": "string",
                        "name": "string",
                        "os": "string",
                        "version": "string"
                    }
                ]
            },
            "completeness_checks": {
                "configuration_complete": false,
                "stemcell_present": false,
                "configurable_properties_valid": false
            },
            "errands": [
                {
                    "name": "string",
                    "label": "string",
                    "impact_warning": "string"
                }
            ]
        }
    ]
}
array of product_changes
product_changes
Optional

product_changes


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

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