Last modified October 31, 2024

getStatistics

This function returns the Statistics Object containing information about the user.
Returns
Parameter name Type Description
total_new_alerts Integer Total number of new alerts in the past 24 hours.
total_accounts Integer Total number of accounts on the panel.
total_backup_jobs Integer Total number of Backup Jobs configured.
total_backups Integer Total number of Full Backups generated.
total_disk_usage Integer Total disk usage of all accounts (bytes).
total_backup_jobs_running Integer Total number of Backup Jobs currently running.

Example Call JETAPI

jetbackup5api -F getStatistics
success: 1
message:
system:
version: 5.3.3
version_panel: 5.3.3
tier: EDGE
type: cPanel
retry_ms: 0
disableui:
dr:
agreement_panel:
agreement:
licenseIssue:
data:
total_new_alerts: 4
total_accounts: 4
total_backup_jobs: 3
total_clone_jobs: 0
total_backups: 1304
total_account_backups: 0
total_disk_usage: 8093958144
total_backup_jobs_running: 0
total_clone_jobs_running: 0

Example Call HTTP

https://hostname.example.com:2087/cpsess##########/cgi/addons/jetbackup5/api.cgi?function=getStatistics