This function lists a cPAddons instance's settings.
uapi --output=jsonpretty \ --user=username \ cPAddons \ get_instance_settings \ unique_id='cPanel::Blogs::WordPressX.0.1486754861'
{- "apiversion": 3,
- "func": "get_instance_settings",
- "module": "cPAddons",
- "result": {
- "data": {
- "addon": "cPanel::Blogs::WordPressX",
- "admin_user": "string",
- "autoupdate": 0,
- "db_name": "example_wp",
- "db_type": "mysql",
- "db_user": "example_wp",
- "domain": "example.com",
- "installdir": "/home/example/public_html/wordpress",
}, - "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}