disk.storage.getforapp
disk.storage.getforapp
Returns a description of the storage available for the application to store its data (files and folders).
Returned structure is similar to that specified in disk.storage.get.
Response example:
"result": { "ID": "221990", "NAME": "bitrix.restapi", "CODE": null, "MODULE_ID": "disk", "ENTITY_TYPE": "restapp", "ENTITY_ID": "1", "ROOT_OBJECT_ID": "2" }
Parameters
This method has no parameters.
Example
BX24.callMethod( "disk.storage.getforapp", {}, function (result) { if (result.error()) console.error(result.error()); else console.dir(result.data()); } );
© «Bitrix24», 2001-2024