Back-ups
Overview of all back-ups
GET
https://cronly.app/api/backups
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer: |
Details of back-up
GET
https://cronly.app/api/backups/{server_id}/{username}
Query Parameters
Name | Type | Description |
---|---|---|
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
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer: |
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
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer: |
Request Body
Name | Type | Description |
---|---|---|
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
Name | Type | Description |
---|---|---|
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
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer: |
Last updated