Chapter 45: Controller: /nodeworx/packages Up Part II: NodeWorx API Spec Chapter 47: Controller: /nodeworx/reseller 

46 Controller: /nodeworx/plugins

Required Permissions "PLUGINS"
Action: edit
Added in version 4.7.0-339
Description Edit a plugin.
Input Parameters
Name Type Notes Required?
plugin_name string Example Values
simplescripts, auto-enable-shell-account, eventhooks, softaculous, autoset-spamprefs, buddyns, catchall-account-option, cloudflare, disable-local-delivery, dnsme, domain-email-create, external-nfs-quota, hello, history, lets-encrypt, license-api, litespeed, r1soft
Yes
status integer Example Values
1, 0
Example Default Value
1
No*
* indicates that it’s actually required, but probably already has a valid default value
Action: listPlugins
Added in version 4.8.0-393
Description Get list of plugins.
Sample output
array (
’status’ => 0,
’payload’ =>
array (
0 =>
array (
’name’ => ’simplescripts’,
’label’ => ’Simple Scripts’,
’desc’ => ’SimpleScripts enables one-click management (installs, upgrades, imports of manual installations, uninstalls, and backup restorations) of the Web\’s top applications, including Wordpress, Joomla, Roundcube, and lots more.’,
’status’ => true,
’cat’ => ’##LG_SCRIPT_INSTALLERS##’,
’qh’ => ’SimpleScripts provides all of the Web\’s top applications to your customers with absolutely no maintenance required on your part. What\’s more, you can offer SimpleScripts to your customers free of charge! Visit <a href=\’http://www.simplescripts.com\’ target=\’_blank\’>www.simplescripts.com</a> to learn more.’,
’error’ => ’’,
),
1 =>
array (
’name’ => ’softaculous’,
’label’ => ’Softaculous’,
’desc’ => ’Softaculous is a fast, well designed auto installer, and it installs all scripts in just one step’,
’status’ => false,
’cat’ => ’##LG_SCRIPT_INSTALLERS##’,
’qh’ => ’From <a href=\’http://www.softaculous.com\’ target=\’_blank\’>softaculous.com</a><br><i>Softaculous is a great Auto Installer having 104 great scripts and we are still adding more. Softaculous is ideal for Web Hosting companies and it could give a significant boost to your sales. These scripts cover most of the uses a customer could ever have. We have covered a wide array of Categories so that everyone could find the required script one would need to power their Web Site. The best part is we keep on adding new scripts which we know will satisfy the needs of a User.</i> ’,
’error’ => ’’,
),
2 =>
array (
’name’ => ’r1soft’,
’label’ => ’R1Soft CDP Access’,
’desc’ => ’R1Soft Backup Siteworx Integration’,
’status’ => false,
’cat’ => ’##LG_BACKUP_RESTORE##’,
’qh’ => ’This plugin allows the SiteWorx user to automatically login to their account on an R1Soft CDP Server. By default, all SiteWorx users have access. Access can be revoked on a per SiteWorx account basis by editing the SiteWorx package of the account in question, or at SiteWorx account creation time. This plugin requires the R1Soft Agent installed on the interworx server.’,
’error’ => ’’,
),
),
)
Action: queryEdit
Added in version 5.1.0-838
Description Displays the information available to the action "edit".
Input Parameters
Name Type Notes Required?
plugin_name string Example Values
simplescripts, auto-enable-shell-account, eventhooks, softaculous, autoset-spamprefs, buddyns, catchall-account-option, cloudflare, disable-local-delivery, dnsme, domain-email-create, external-nfs-quota, hello, history, lets-encrypt, license-api, litespeed, r1soft
Yes
Sample output
array (
’status’ => 0,
’payload’ =>
array (
’name’ => ’Simple Scripts’,
’description’ => ’SimpleScripts enables one-click management (installs, upgrades, imports of manual installations, uninstalls, and backup restorations) of the Web\’s top applications, including Wordpress, Joomla, Roundcube, and lots more.’,
’status’ => ’1’,
’plugin_name’ => ’simplescripts’,
),
)
 Chapter 45: Controller: /nodeworx/packages Up Part II: NodeWorx API Spec Chapter 47: Controller: /nodeworx/reseller 

(C) 2017 by InterWorx LLC