Ploi API
Ploi API

Get site file backup

Get the site file backups.

GET api/backups/file/{fileBackupIp}

Example request:

curl -X GET "https://ploi.io/api/backups/file/1" \
-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": "/home/ploi/ploi.info",
        "locations": null,
        "interval": "daily",
        "table_exclusions": null,
        "keep_backup_amount": 5,
        "active": 0,
        "server_id": null,
        "site": {
            "id": 1,
            "root_domain": "ploi.info"
        },
        "last_backup_at": "2024-08-02 00:00:00",
        "created_at": "2024-07-18 00:00:00"
    }
}