Slots

Create

Create a new slot via a job, for the given Swiss Backup

post/1/swiss_backups/{swiss_backup_id}/slots

Path parameters

swiss_backup_idinteger required

Unique identifier of the Swiss Backup to request.

Request body

connection_type'ftp' | 's3' | 'swift'

Slot connection type (Swift, S3, FTP)

customer_namestring required

Customer name of the resource {name}

emailstring required

Email

firstnamestring nullable
langinteger

Language identifier (1 = fr / 2 = en / 3 = de / 4 = it / 5 = es)

lastnamestring nullable
sizeinteger required

Total storage size of the Swiss Backup product (Bytes)

type'acronis' | 'linux' | 'mobile' | 'office' | 'other' | 'qnap' | 'server' | 'synology' | 'virtual' | 'workstation' required

Type of the resource {name}

Example request

{
  "connection_type": "swift",
  "customer_name": "SwissBackup Slot",
  "email": "myemail@mydomain.com",
  "firstname": "Jean",
  "lastname": "Paul",
  "type": "workstation"
}

Response

Created

result'success' | 'error' | 'asynchronous' required

Result of the HTTP request

Example response

{
  "result": "success",
  "data": {
    "customer_name": "SwissBackup Slot",
    "type": "slot",
    "subtype": "swift",
    "connection_type": "swift",
    "size": 200000000000,
    "storage_used": 100000000000,
    "usage_last_check": 1666685147,
    "created_at": 1666354846,
    "locked_at": 1666354979,
    "tags": [
      {
        "id": 1234,
        "name": "My tag name",
        "color": 4,
        "product_count": 2
      }
    ],
    "lang": 1,
    "username": "SBA-AA000000-ADMIN",
    "endpoint": "https://swiss-backup.infomaniak.com",
    "email": "myemail@mydomain.com",
    "slot_name": "My Slot",
    "tenant_name": "sb_project_SBI-AA000000",
    "domain_name": "default",
    "container_name": "default",
    "directory": "/identity/v3"
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.