<aside> 📎 Endpoints

</aside>

Get server backups

GET https://your-panel.com/api/client/servers/<UUID>/backups

Example Request

curl "<https://your-panel.com/api/client/servers/><UUID>/backups" \\
  -H "Content-Type: application/json" \\
  -H "Accept: application/vnd.wisp.v1+json" \\
  -H "Authorization: Bearer APITOKEN" \\
  -X GET

Example Response


Create a server backups

POST https://your-panel.com/api/client/servers/<UUID>/backups

Required Parameters

name - backup name

Example Request

curl "<https://your-panel.com/api/client/servers/><UUID>/backups" \\
  -H "Content-Type: application/json" \\
  -H "Accept: application/vnd.wisp.v1+json" \\
  -H "Authorization: Bearer APITOKEN" \\
  -X POST \\
  -d '
	   {
	       "name": "my new backup"
	   }'

Example Response


Lock a server backup

POST https://your-panel.com/api/client/servers/<UUID>/backups/<ID>/locked

Example Request

curl "<https://your-panel.com/api/client/servers/><UUID>/backups/<ID>/locked" \\
  -H "Content-Type: application/json" \\
  -H "Accept: application/vnd.wisp.v1+json" \\
  -H "Authorization: Bearer APITOKEN" \\
  -X POST

Deploy a server backup

POST https://your-panel.com/api/client/servers/<UUID>/backups/<ID>/deploy

Example Request

curl "<https://your-panel.com/api/client/servers/><UUID>/backups/<ID>/deploy" \\
  -H "Content-Type: application/json" \\
  -H "Accept: application/vnd.wisp.v1+json" \\
  -H "Authorization: Bearer APITOKEN" \\
  -X POST

Download a server backup

GET https://your-panel.com/api/client/servers/<UUID>/backups/ID>/download

Example Request

curl "<https://your-panel.com/api/client/servers/><UUID>/backups/<ID>/download" \\
  -H "Content-Type: application/json" \\
  -H "Accept: application/vnd.wisp.v1+json" \\
  -H "Authorization: Bearer APITOKEN" \\
  -X GET

Delete a server backup

DELETE https://your-panel.com/api/client/servers/<UUID>/backups/<ID>

Example Request

curl "<https://your-panel.com/api/client/servers/><UUID>/backups/<ID>" \\
  -H "Content-Type: application/json" \\
  -H "Accept: application/vnd.wisp.v1+json" \\
  -H "Authorization: Bearer APITOKEN" \\
  -X DELETE