This function checks whether your server uses the latest version of cPanel & WHM for your release tier.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ get_update_availability
{- "data": {
- "current_version": "88.0.12",
- "newest_version": "88.0.12",
- "tier": "current",
- "update_available": 0
}, - "metadata": {
- "command": "get_update_availability",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}