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

56 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: 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: 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
 Chapter 55: Controller: /nodeworx/ssl Up Part II: NodeWorx API Spec Chapter 57: Controller: /nodeworx/twofactorauth 

(C) 2017 by InterWorx LLC