Skip to content

preview_template_upgrade

Report whether an installation in the OAuth-bound application can upgrade.

{
"properties": {
"application_id": {
"title": "Application Id",
"type": "string"
},
"installation_id": {
"title": "Installation Id",
"type": "string"
}
},
"required": [
"application_id",
"installation_id"
],
"title": "preview_template_upgradeArguments",
"type": "object"
}
{
"properties": {
"current_version": {
"title": "Current Version",
"type": "string"
},
"installed_version": {
"title": "Installed Version",
"type": "string"
},
"target_version": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Target Version"
},
"upgrade_available": {
"title": "Upgrade Available",
"type": "boolean"
}
},
"required": [
"upgrade_available",
"installed_version",
"current_version",
"target_version"
],
"title": "TemplateUpgradeResponse",
"type": "object"
}