Skip to content

Commit 110e1cb

Browse files
committed
added endpoint
1 parent e335cfc commit 110e1cb

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

api/backup-tasks.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,35 @@ Retrieve a paginated listing of the user's backup tasks.
6969
}
7070
```
7171

72+
## List Upcoming Backup Tasks
73+
74+
Retrieve a listing of the user's upcoming backup tasks.
75+
76+
**GET** `/api/backup-tasks/upcoming`
77+
78+
### Response
79+
80+
```json
81+
{
82+
"data": [
83+
{
84+
"backup_task_id": "204",
85+
"label": "Daily Database Backup",
86+
"type": "Database",
87+
"next_run": "2025-03-02T12:00:00Z",
88+
"next_run_human": "Sunday, 2 March 2025 12:00"
89+
},
90+
{
91+
"backup_task_id": "205",
92+
"label": "Website Backup",
93+
"type": "Database",
94+
"next_run": "2025-03-03T00:00:00Z",
95+
"next_run_human": "Monday, 3 March 2025 00:00"
96+
}
97+
]
98+
}
99+
```
100+
72101
## Create Backup Task
73102

74103
Create a new backup task.

0 commit comments

Comments
 (0)