Hello JetBackup Team,
I am encountering an issue while using the JetBackup5 API with the listAlerts function. It does not list the most recent alert information, even though the alert section does display the information (as shown in the attached image).
I have referred to the documentation at JetBackup Alerts and JetBackup API, but they are too brief to resolve my issue.
I would appreciate your assistance in addressing this problem.
Thank you for your support!
ListAlerts is not working
ListAlerts is not working
- Attachments
-
- 2024-09-07_11-02.png (53.28 KiB) Viewed 11815 times
-
- 2024-09-07_11-00.png (53.82 KiB) Viewed 11815 times
-
- Staff Member
- Posts: 35
- Joined: October 6th, 2023, 3:55 am
Re: ListAlerts is not working
Hello Dolphin,
Thank you for supporting JetBackup! While reviewing the API output, we noticed that the alerts are not being sorted in ascending order. The correct syntax should be:
The sort option will sort the logs by the date created and the "-1" parameter will sort this by the latest date. Additionally, you may combine this with the "limit" parameter to limit the specified number of records returned. Kindly refer to our documentation below for more information.
https://docs.jetbackup.com/v5.3/api/com ... 0are%20the
We appreciate your feedback regarding our documentation and will notify our team to enhance the Alerts API section by including more parameter options.
If you require further assistance, feel free to contact our help desk! We offer 24/7/365 support to help with any JetBackup-related issues.
https://billing.jetapps.com/submitticket.php
Best Regards,
Trenton V
JetApps, LLC.
JetApps.com | JetBackup.com
Thank you for supporting JetBackup! While reviewing the API output, we noticed that the alerts are not being sorted in ascending order. The correct syntax should be:
Code: Select all
jetbackup5api -F listAlerts -D "sort[created]=-1"
https://docs.jetbackup.com/v5.3/api/com ... 0are%20the
We appreciate your feedback regarding our documentation and will notify our team to enhance the Alerts API section by including more parameter options.
If you require further assistance, feel free to contact our help desk! We offer 24/7/365 support to help with any JetBackup-related issues.
https://billing.jetapps.com/submitticket.php
Best Regards,
Trenton V
JetApps, LLC.
JetApps.com | JetBackup.com