This function lists a key's available RPMs. For more information, read our rpm.versions system documentation.
HTTP Request was successful.
object or object The RPM section and its associated RPMs. Note:
| |
object |
whmapi1 --output=jsonpretty \ get_rpm_version_data \ section='rpm_groups'
{- "data": {
- "3rdparty": [
- "cpanel-pcre",
- "cpanel-pixman",
- "cpanel-analog"
]
}, - "metadata": {
- "command": "get_rpm_version_data",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}