View A diff Of A deployed product

View A diff Of A deployed product
View a diff of a deployed product

Returns the diff of the manifest and runtime configs between the staged state and last successful deployment of a product.

Request
URI
GET
https://{opsmanager-installation}/api/v0/products/{guid}/diff
COPY
Path Parameters
string
guid
Required

guid


Responses
200

0K

Returns ProductDiff of type(s) application/json
{
    "manifest": {
        "status": "string",
        "diff": "string",
        "from_installation_id": 0,
        "to_installation_id": "string"
    },
    "runtime_configs": [
        {
            "name": "string",
            "status": "string",
            "diff": "string",
            "from_installation_id": 0,
            "to_installation_id": "string"
        }
    ],
    "applied_runtime_configs": [
        {
            "name": "string",
            "status": "string",
            "diff": "string",
            "from_installation_id": 0,
            "to_installation_id": "string"
        }
    ]
}
object
manifest
Optional

manifest

array of object
runtime_configs
Optional

runtime_configs

array of object
applied_runtime_configs
Optional

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

404

Product not found

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

422

Unprocessable Content

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/products/{guid}/diff