Last modified October 31, 2024

getAlert

This function prints the objects data given its Alert ID.
Returns
Parameter name Type Description Possible Values Example
_id String REQUIRED The Alert ID   _id=5f890a19e55cf262863522f2

Example Call JETAPI

jetbackup5api -F getAlert -D "_id={$ALERT_ID}"
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:
  _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

Example Call HTTP

https://hostname.example.com:2087/cpsess##########/cgi/addons/jetbackup5/api.cgi?function=getAlert&_id=5f890a19e55cf262863522f2