API Backups - maxgrafik/violetCMS GitHub Wiki
[
{
date: <RFC2822 date>,
size: <string>, (human readable, e.g. *** KB)
name: <string>, (filename)
url: <url>
},
...
]
The url field is an url to the 2nd accessible API endpoint /violet/download.php and contains a nonce which is valid for 5 minutes.
q=backups
Gets a list of stored backups.
q=backups&action=create
Creates a backup of the whole website in /violet/backups.
q=backups&action=delete&name=<filename>
Deletes the backup with the given file name.