This function lists information about the system's available RPM packages.
HTTP Request was successful.
object A list of RPM objects that match the requested | |
object |
whmapi1 --output=jsonpretty \ package_manager_list_packages
{- "data": {
- "packages": [
- {
- "package": "MariaDB-client"
}, - {
- "package": "MariaDB-common"
}
]
}, - "metadata": {
- "command": "package_manager_list_packages",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}