Documentation

disk.storage.get

disk.storage.get

Returns storage by ID.

Response example:

"result": {
    "ID": "2", //identifier
    "NAME": "Marketing and Advertisement", //name
    "CODE": null, //symbol code
    "MODULE_ID": "disk",
    "ENTITY_TYPE": "group", //entity type (see [link=1332048]disk.storage.gettypes[/link])
    "ENTITY_ID": "1", //entity ID
    "ROOT_OBJECT_ID": "2" //root folder ID
}


Parameters

Parameter Description
id Storage ID.

Example

        BX24.callMethod(
		"disk.storage.get",
		{id: 2},
		function (result)
		{
			if (result.error())
				console.error(result.error());
			else
				console.dir(result.data());
		}
);



User Comments

User comments are not part of official documentation. Use information provided by other users in the comments at your own risk.

The User Comments section is not to be used as a feature discussion board. Only registered users can post comments. Your comment will be visible once it has been approved by the moderator.
© «Bitrix Inc.», 2001-2021, «Bitrix Inc.», 2021