Last modified October 31, 2024

listAlerts

This function lists all Alert Objects.
Parameter name Type Description Possible Values Example
schedules List [] List of all Alert Objects.    
total Integer Total number of Alert Objects.    

Example Call JETAPI

jetbackup5api -F listAlerts
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: alerts: 0: _id: 6508e8f223774d67a60f06db title: Reindex for the destination Local started message: Reindex process for the destination Local started level: 1 send_logs: 0: integration: Default Email Notification message: Successfully Sent created: 2023-09-19T00:18:58+00:00 status: 1 created: 2023-09-19T00:18:58+00:00 owner: 65075382d49adbd1660f06d2 owner_name: root 1: _id: 6508e8f223774d67a60f06dc title: Reindex for the destination Local completed successfully message: Reindex process for the destination Local successfully in less then a second level: 1 send_logs: 0: integration: Default Email Notification message: Successfully Sent created: 2023-09-19T00:18:58+00:00 status: 1 created: 2023-09-19T00:18:58+00:00 owner: 65075382d49adbd1660f06d2 owner_name: root 2: _id: 6508e9ae20b47525b50f06de title: Download for the account example started message: Download process for the account example started level: 1 send_logs: 0: integration: Default Email Notification message: Successfully Sent created: 2023-09-19T00:22:06+00:00 status: 1 created: 2023-09-19T00:22:06+00:00 owner: 6503eba4c6477f48c309376f owner_name: example 3: _id: 6508e9be20b47525b50f0782 title: Download for the account example completed successfully message: Download process for the account example completed successfully in 16 Seconds level: 1 send_logs: 0: integration: Default Email Notification message: Successfully Sent created: 2023-09-19T00:22:22+00:00 status: 1 created: 2023-09-19T00:22:22+00:00 owner: 6503eba4c6477f48c309376f owner_name: example total: 4

Example Call HTTP

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