• Модуль: disk
  • Путь к файлу: ~/bitrix/modules/disk/lib/bitrix24disk/legacy/storagecontroller.php
  • Класс: BitrixDiskBitrix24DiskLegacyStorageController
  • Вызов: StorageController::listActions
protected function listActions()
{
	return array(
		'initialize' => array(
			'method' => array('POST'),
			'check_csrf_token' => false,
		),
		'disconnect' => array(
			'method' => array('POST', 'GET'),
			'check_csrf_token' => false,
		),
		'updateDiskUsage' => array(
			'method' => array('POST'),
		),
		'snapshot' => array(
			'method' => array('POST', 'GET'),
			'check_csrf_token' => true,
		),
		'download' => array(
			'method' => array('POST'),
		),
		'delete' => array(
			'method' => array('POST'),
		),
		'upload' => array(
			'method' => array('POST'),
		),
		'rollbackUpload' => array(
			'method' => array('POST'),
		),
		'update' => array(
			'method' => array('POST'),
		),
		'lock' => array(
			'method' => array('POST'),
		),
		'unlock' => array(
			'method' => array('POST'),
		),
		'directory' => array(
			'method' => array('POST'),
		),
		'getDiskSpace' => array(
			'method' => array('POST'),
			'check_csrf_token' => false,
		),
		'getDiskQuota' => array(
			'method' => array('POST'),
		),
		'getMaxPostSize' => array(
			'method' => array('POST'),
		),
		'getChunkSize' => array(
			'method' => array('POST'),
		),
		'getPublicLink' => array(
			'method' => array('POST'),
		),
	);
}