Chapter 43: Controller: /nodeworx/nfs/mount Up Part II: NodeWorx API Spec Chapter 45: Controller: /nodeworx/overview 

44 Controller: /nodeworx/notice

Required Permissions "LOGIN"
Action: dismissBanner
Added in version 4.7.0-339
Description Dismisses a banner notice.
Input Parameters
Name Type Notes Required?
delivery_id integer No*
* indicates that it’s actually required, but probably already has a valid default value
Action: fail
Added in version n/a
Description Magic function - test for failure mechanism.
Action: ignoreUntil
Added in version 4.7.0-339
Description Ignore a notice until a certain time.
Input Parameters
Name Type Notes Required?
delivery_id struct (integer) Yes
ignore_until integer Example Values
0, 1, 2, 3, 4, 5
Yes
Action: listBannerNotices
Added in version 4.7.0-339
Description Lists current banner notices.
Sample output
array (
’status’ => 0,
’payload’ =>
array (
0 =>
array (
’delivery_id’ => ’1’,
’code’ => ’’,
’priority’ => ’positive’,
’node_id’ => ’’,
’subject’ => ’##LG_WELCOMETONODEWORX##’,
’body’ => ’##LG_GOIWORX_WELCOME##’,
’date_created’ => ’1417708365’,
),
1 =>
array (
’delivery_id’ => ’79798’,
’code’ => ’SSL_CERT_EXPIRED’,
’priority’ => ’negative’,
’node_id’ => ’’,
’subject’ => ’Warning: SSL Certificate Expired’,
’body’ => ’##LG_PROBLEM_CERT_EXPIRED_MESSAGE|<ul><li>Web-Server Default SSL<ul><li>Expiration Date: 2015-12-04</li><li>Domain: p1.unit.interworx.com</li><li>Issuer: SomeOrganization</li></ul></li><li>FTP Server<ul><li>Expiration Date: 2015-12-04</li><li>Domain: *.interworx.com</li><li>Issuer: InterWorx, LLC</li></ul></li><li>POP3-SSL<ul><li>Expiration Date: 2015-12-04</li><li>Domain: localhost</li><li>Issuer: Courier Mail Server</li></ul></li><li>IMAP-SSL<ul><li>Expiration Date: 2015-12-04</li><li>Domain: localhost</li><li>Issuer: Courier Mail Server</li></ul></li><li>SMTP-TLS<ul><li>Expiration Date: 2015-08-19</li><li>Domain: localhost</li><li>Issuer: Qmail Toaster Server</li></ul></li></ul>##’,
’date_created’ => ’1531305136’,
),
2 =>
array (
’delivery_id’ => ’79802’,
’code’ => ’UPGRADED_6.1.23-1488’,
’priority’ => ’positive’,
’node_id’ => ’’,
’subject’ => ’##LG_IWORX_UPGRADED##’,
’body’ => ’##LG_IWORX_UPGRADED_DESC|6.1.23-1488##’,
’date_created’ => ’1531305238’,
),
),
)
Action: removeUnsubscription
Added in version 4.7.0-339
Description Removes an unsubscription block for the current user.
Input Parameters
Name Type Notes Required?
code integer Yes
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: unsubscribe
Added in version 4.7.0-339
Description Unsubscribes the current user from a problem code.
Input Parameters
Name Type Notes Required?
code string Yes
Action: unsubscribeAll
Added in version 6.1.9-1465
Description Unsubscribe from all notices.
Action: win
Added in version n/a
Description Magic function - test for testing success mechanism.
 Chapter 43: Controller: /nodeworx/nfs/mount Up Part II: NodeWorx API Spec Chapter 45: Controller: /nodeworx/overview 

(C) 2018 by InterWorx LLC