GET /vps/{id}/backups

Gets a list of the available backups for your service over our backup systems such as XFS stsorag and Swift

Path parameters

  • id integer Required

    VPS ID number

Responses

  • 200 application/json

    The listing of the available backups

    Hide response attributes Show response attributes object
    • type string Required

      Backup Type

    • service integer(int32) Required

      The service id such as vps id.

    • name string Required

      The name of the backup.

    • size integer(int32) Required

      Size of the file in bytes

    • date integer(int32) Required

      The creation date of the backup in a unix timestamp.

  • 401 application/json

    Unauthorized

    Hide response attributes Show response attributes object
    • code string Required
    • message string Required
GET /vps/{id}/backups
curl \
 --request GET 'https://my.interserver.net/apiv2/vps/{id}/backups' \
 --header "X-API-KEY: $API_KEY"
Response examples (200)
[
  {
    "date": 1694082660,
    "name": "first",
    "size": 3229615,
    "type": "zfs",
    "service": 2722890
  },
  {
    "date": 1632842251,
    "name": "reset_shot_vps100_20210928.jpg",
    "size": 40621,
    "type": "swift",
    "service": 100
  },
  {
    "date": 1632968243,
    "name": "reset_shot_vps100_20210929.jpg",
    "size": 36319,
    "type": "swift",
    "service": 100
  }
]
Response examples (401)
{
  "code": "string",
  "message": "string"
}