Swiss Backup information
v1
swiss-backup
get
/1/swiss_backups/{swiss_backup_id}
This API endpoint is in beta!
Endpoint should be considered in beta and is subject to change.
Get details for the given Swiss Backup product
Path parameters
swiss_backup_id
requiredinteger
Unique identifier of the Swiss Backup to request.
Examples:78346
Response Body
application/json
resultrequiredstring
Possible values:successerrorasynchronous
Result of the HTTP request
Examples:success
dataSwiss Backup
Example request
<?php
use GuzzleHttp\Client;
$client = new Client();
$headers = [
'Authorization' => 'Bearer YOUR-TOKEN-HERE',
'Content-Type' => 'application/json'
];
$request = new Request('GET', 'https://api.infomaniak.com/1/swiss_backups/{swiss_backup_id}', $headers, $body);
$res = $client->sendAsync($request)->wait();
echo $res->getBody();
Example response
application/json
{"result":"success","data":{"id":8121,"account_id":21968,"service_id":56213,"service_name":"example","customer_name":"SwissBackup Slot","internal_name":"example","created_at":1666354846,"expired_at":1731596506,"version":83272,"has_maintenance":false,"is_locked":false,"has_operation_in_progress":true,"tags":[{"id":1234,"name":"My tag name","color":4}],"unique_id":98222,"is_free":false,"is_zero_price":false,"is_trial":true,"rights":{"technical":false,"statistic":true,"check":false,"sale":false},"nb_slots":5,"max_slots":7,"nb_unallocated_slots":0,"nb_unallocated_mobile_workstation":0,"size":200000000000,"is_demo":"false","is_migrated":"false","new_interface":"false","account_name":"Infomaniak SA","storage_reserved":200000000000}}