Controller: /nodeworx/reseller/bandwidthhistory

Action: fail

Added in Version

n/a

Description

Magic function - test for failure mechanism.

Action: listBandwidth

Added in Version

4.8.0-393

Description

List the bandwidth history overview.

Sample Output

array (
  'status' => 0,
  'payload' =>
  array (
    0 =>
    array (
      'periodstart' => '1578808273',
      'periodend' => '1578808273',
      'http' => 0,
      'ftp' => 0,
      'total' => 0,
      'nodeworx_id' => 1,
    ),
  ),
  'reply_code' => 205,
)

Action: queryBandwidth

Added in Version

4.8.0-393

Description

Search for bandwidth history for a given reseller.

Input Parameters

Name

Type

Required?

Example Values

Default Values

Notes

nodeworx_id

integer

No

Action: queryBandwidthDetails

Added in Version

4.8.0-393

Description

Search for reseller bandwidth details for a given period.

Input Parameters

Name

Type

Required?

Example Values

Default Values

Notes

nodeworx_id

integer

No

period

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

Required?

Example Values

Default Values

Notes

controller

string

Yes

Index, Overview, Users, Lang, Apikey, Plugins, Twofactorauth, Notice, Siteworx, Shell, Packages, Backup, Import, Softaculous, Reseller, ResellerPackages, ResellerBandwidthhistory, Http, Phpextensions, Ftp, Sshd, MailMta, MailSmtp, MailSmtp2, MailSend, MailMda, MailMsa, MailDovecot, MailSpam, MailVirus, MailMailman, MailQueue, Mysql, MysqlRemote, MysqlPhpmyadmin, Dns, DnsZone, DnsRecord, DnsSync, Nfs, NfsExport, NfsMount, Health, Cron, Firewall, Ssl, Logs, Settings, Updates, Rrd, …

Action: win

Added in Version

n/a

Description

Magic function - test for testing success mechanism.