Skip to main content
Skip table of contents

Список резервных копий

Список резервных копий

GET api/admin/v1/backup
200 OK

Успешный ответ

JSON
[
    {
        "name": "schema_vms.dump",
        "size": 101136
    },
    {
        "name": "data_vms.gz",
        "size": 8699084
    },
    {
        "name": "schema_dhcp.dump",
        "size": 124
    },
    {
        "name": "data_dhcp.gz",
        "size": 132
    },
    {
        "name": "triggers_dhcp.dump",
        "size": 127
    }
]
401 Unauthorized

Токен авторизации не передан или не валидный. Получение токена

cURL
BASH
curl -k --request POST \
	--url 'https://your-domainapi/admin/v1/backup' \
	--header 'Content-Type: application/json' \
	--header 'Accept: application/json' \
	--data '[]'
PHP
PHP
$data = array (
);
$context = stream_context_create([
	'ssl'=>['verify_peer' => false],
	'http' => [
		'method' => 'GET',
		'header' => "Content-Type: application/json\r
Accept: application/json",
		'content'=>json_encode($data)
	]
]);
$result = file_get_contents('https://your-domainapi/admin/v1/backup', false, $context);
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.