Chapter 57: Controller: /nodeworx/ssl Up Part II: NodeWorx API Spec Chapter 59: Controller: /nodeworx/twofactorauth 

58 Controller: /nodeworx/themes

Required Permissions "THEMES"
Action: add
Added in version 4.7.0-339
Description Add a new theme.
Input Parameters
Name Type Notes Required?
archive string Yes
Action: delete
Added in version 4.7.0-339
Description Delete a theme.
Input Parameters
Name Type Notes Required?
theme string Example Values
blue_steel, coolfreshness, heliotrope, interstate, nexcess
Yes
Action: fail
Added in version n/a
Description Magic function - test for failure mechanism.
Action: list
Added in version 4.7.0-339
Description List installed themes.
Sample output
array (
’status’ => 0,
’payload’ =>
array (
0 =>
array (
0 => ’blue_steel’,
1 => ’Blue Steel’,
),
1 =>
array (
0 => ’calliope’,
1 => ’Calliope’,
),
2 =>
array (
0 => ’coolfreshness’,
1 => ’Cool Freshness’,
),
),
)
Action: listDeletable
Added in version 4.7.0-339
Description List deletable themes.
Sample output
array (
’status’ => 0,
’payload’ =>
array (
0 =>
array (
0 => ’blue_steel’,
1 => ’Blue Steel’,
),
1 =>
array (
0 => ’coolfreshness’,
1 => ’Cool Freshness’,
),
2 =>
array (
0 => ’heliotrope’,
1 => ’Heliotrope’,
),
),
)
Action: reroute
Added in version n/a
Description Action to re-route from the current controller to a different one.
Input Parameters
Name Type Notes Required?
controller string Example Values
Index, Overview, Users, Lang, Themes, Apikey, Plugins, Twofactorauth, Notice, Siteworx, Shell, Packages, Backup, Import, Simplescripts, Reseller, ResellerPackages, ResellerBandwidthhistory, Http, Ftp, Sshd, MailMta, MailSmtp, MailSmtp2, MailSend, MailMda, MailPop3, MailSpop3, MailImap, MailSimap, MailSpam, MailVirus, MailQueue, Mysql, MysqlRemote, MysqlPhpmyadmin, Dns, DnsZone, DnsRecord, DnsSync, Nfs, NfsExport, NfsMount, Health, Cron, Firewall, Ssl, Logs, Settings, Updates, ...
Yes
Action: switchAllUsersTheme
Added in version 4.7.0-339
Description Switch users from one theme to another.
Input Parameters
Name Type Notes Required?
change_from string Example Values
blue_steel, calliope, coolfreshness, heliotrope, interstate, interworx, nexcess, vanillaice
Yes
change_to string Example Values
calliope, coolfreshness, heliotrope, interstate, interworx, nexcess, vanillaice
Yes
Action: syncTheme
Added in version 4.7.0-339
Description Sychronizes a theme to the cluster nodes.
Input Parameters
Name Type Notes Required?
theme string Example Values
heliotrope, nexcess
Yes
Action: update
Added in version 4.7.0-339
Description Upgrade a theme.
Input Parameters
Name Type Notes Required?
theme string Example Values
heliotrope, nexcess
Yes
archive string Yes
Action: win
Added in version n/a
Description Magic function - test for testing success mechanism.
 Chapter 57: Controller: /nodeworx/ssl Up Part II: NodeWorx API Spec Chapter 59: Controller: /nodeworx/twofactorauth 

(C) 2018 by InterWorx LLC