List database backups
List all the database backups.
GET api/backups/database
Example request:
curl -X GET "https://ploi.io/api/backups/database" \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
Example response:
HTTP/1.1 200 OK
Content-Type: application/json
{
"data": [
{
"id": 1,
"status": "active",
"label": "My AWS provider",
"type": "aws-s3",
"type_human": "AWS S3",
"path": "/",
"locations": null,
"interval": 0,
"table_exclusions": null,
"keep_backup_amount": 0,
"active": true,
"server": {
"id": 1,
"name": "dizzy-leaf"
},
"database": {
"id": 1,
"name": "wordpress_blog"
},
"last_backup_at": "2024-08-01 00:00:00",
"created_at": "2024-08-01 00:00:00"
}
],
"links": {
"first": "https://ploi.io/api/backups/database?database_page=1",
"last": "https://ploi.io/api/backups/database?database_page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "«",
"active": false
},
{
"url": "https://ploi.io/api/backups/database?database_page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "»",
"active": false
}
],
"path": "https://ploi.io/api/backups/database",
"per_page": 15,
"to": 1,
"total": 1
}
}