Back to bricks list
Introduction
Technical Documentation
Other Classes
FsNodeService
Version

FsNodeService

Functions

CALL_FOLDER_SUB_FILE_VIEW - @classmethod
Parameters:
NameTypeDefault valueDescription
resource_idstr
sub_file_pathstr
Return type:
CallViewResult
CREATE_FS_NODE_MODEL - @classmethod
Parameters:
NameTypeDefault valueDescription
fs_nodeFSNode
Return type:
ResourceModel
CREATE_TMP_FILE - @classmethod
Parameters:
NameTypeDefault valueDescription
upload_fileBuffer
file_pathstr
Return type:
str
DOWNLOAD_FILE - @classmethod
Parameters:
NameTypeDefault valueDescription
fs_node_idstr
Return type:
FileResponse
DOWNLOAD_FOLDER_SUB_NODE - @classmethod
Parameters:
NameTypeDefault valueDescription
resource_idstr
sub_file_pathstr
Return type:
FileResponse
GET_FILE_TYPES - @classmethod
Return type:
List
GET_FOLDER_TYPES - @classmethod
Return type:
List
UPLOAD_FILE - @classmethod
UPLOAD_FOLDER - @classmethod