Back-ups
Overview of all back-ups
GET
https://cronly.app/api/backups
Headers
Authorization*
String
Bearer: API token
Details of back-up
GET
https://cronly.app/api/backups/{server_id}/{username}
Query Parameters
server_id*
String
The identifier of the server you want to view
username
String
The username on the server whose back-up you want to view
Headers
Authorization*
String
Bearer: API token
Create a new back-up
POST
https://cronly.app/api/backups
The source of this request must match the IP Address configured in the corresponding Server. This will either create an entire new back-up if there is no server with a matching username, or it will create a new snapshot of the back-up.
Headers
Authorization*
String
Bearer: API token
Request Body
username*
String
The username on the server whose back-up you want to view
server_id*
String
The identifier of the server you want to view
file_content
String
The content of the crontab file
Delete a back-up
DELETE
https://cronly.app/api/backups/{server_id}/{username}
Query Parameters
server_id*
String
The identifier of the server whose back-up you want to delete
username
String
The Username whose back-up you want to delete
Headers
Authorization*
String
Bearer: API token
Last updated