Sign up

List images

GET/api/v1/vps/images

The systems a VPS can be created or reinstalled with.

Example request

curl -X GET "https://platform.serverscamp.com/api/v1/vps/images" \
  -H "Authorization: Bearer $API_TOKEN"

Answer

Status 200 with this body.

FieldTypeDescription
itemslist of VpsImagerequired
items[].idstringrequiredImage id, for create and reinstall
items[].osstringrequiredOperating system
items[].versionstringrequiredIts version
{
  "items": [
    {
      "id": "ubuntu-26.04",
      "os": "Ubuntu",
      "version": "26.04 LTS"
    },
    {
      "id": "debian-13",
      "os": "Debian",
      "version": "13"
    }
  ]
}

Errors

StatusWhen
401No token, or a token that is not valid
422The body or a parameter is not what the operation takes

Every operation can also answer 401 without a valid token. All errors