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://{api_host}/api/v0/staged/pending_changes
COPY
Responses
200
OK
Returns PendingChanges of type(s) application/json
{
"product_changes": [
{
"errands": [
{
"name": "string",
"post_deploy": false,
"pre_delete": false,
"label": "string",
"impact_warning": "string"
}
],
"guid": "string",
"action": "string",
"staged": {
"guid": "string",
"identifier": "string",
"label": "string",
"version": "string",
"depends_on": [
{
"identifier": "string",
"product_version": "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"
}
],
"stemcells": [
{
"label": "string",
"name": "string",
"os": "string",
"version": "string"
}
]
},
"last_successful_deploy": {
"guid": "string",
"identifier": "string",
"label": "string",
"version": "string",
"depends_on": [
{
"identifier": "string",
"product_version": "string"
}
],
"stemcells": [
{
"label": "string",
"name": "string",
"os": "string",
"version": "string"
}
]
},
"completeness_checks": {
"configuration_complete": false,
"stemcell_present": false,
"configurable_properties_valid": false
}
}
]
}
array of product_changes
product_changes
Optional
product_changes
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/api/v0/staged/pending_changes