Servers
Overview of all servers
GET
https://cronly.app/api/servers
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer: |
Details of server
GET
https://cronly.app/api/servers/{id}
Query Parameters
Name | Type | Description |
---|---|---|
id* | Integer | The ID of the job server you want to view |
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer: |
Create a new server
POST
https://cronly.app/api/servers
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer: |
Request Body
Name | Type | Description |
---|---|---|
name* | String | The name of the server |
ip_address* | String | The IP Address of the server |
identifier* | String |
Delete a server
DELETE
https://cronly.app/api/servers/{server_id}
Query Parameters
Name | Type | Description |
---|---|---|
server_id* | Integer | The identifier of the server you want to delete |
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer: |
Alert
POST
https://cronly.app/api/servers/alert
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 alert |
server_id* | String | The identifier of the server you want to alert |
command* | String | The command that was altered |
Last updated