Documentation

disk.file.restore

disk.file.restore

Restores a file from the recycle bin.

The response contains the same structure as in disk.file.get.

Parameters

Parameter Description
id File ID.

Example

BX24.callMethod(
		"disk.file.restore",
		{
			id: 10
		},
		function (result)
		{
			if (result.error())
				console.error(result.error());
			else
				console.dir(result.data());
		}
);




© «Bitrix24», 2001-2024