Group File
Group Files add the ability for Groups to own files, which are similar to Group Entities -- in that they are associated with, and potentially private to, a specific group.
Group files support ACL permissions are similar to Group Entities - so that access permissions can be specified according to "owner", "member" or "other".
Group Files features include:
- folder structure within a group
- ACL permissions at folder and file levels
- operations for creating, moving and deleting folders
- operations for moving, copying and deleting files
- ability to copy/move user files to group files
tip
Like user files, group files will not be migrated to downstream apps during deployment.
API Summary
Bypassing ACL for System Calls
- SysCheckFilenameExists - Check if filename exists for provided path and name.
- SysCheckFullpathFilenameExists - Check if filename exists for provided full path name.
- SysGetFileInfo - Returns information on a file using fileId.
- SysGetFileInfoSimple - Returns information on a file using path and name.
- SysGetFileList - Returns a list of files.
- SysGetCDNUrl - Return CDN url for file for clients that cannot handle redirect.
- SysUpdateFileInfo - Returns information on a file using fileId.
- SysCopyFile - Copy a file.
- SysMoveFile - Move a file.
- SysDeleteFile - Delete a file.
- SysMoveUserToGroupFile - Move a file from user space to group space.
Folder Management for System Calls
- SysCreateFolder - Create a folder in the global file tree.
- SysMoveFolder - Move a folder in the global file tree.
- SysUpdateFolder - Update a folder in the group file tree.
- SysLookupFolder - Retrieves tree id of specified folder.
- SysDeleteFolder - Delete a folder.
tip
All the client APIs that the names beigin with "Sys" are also available to S2S. For the usages of the S2S groupFile APIs (if they are not listed at this section), refer to brainCloud client groupFile APIs.
📄️ SysCheckFilenameExists
Check if filename exists for provided path and name.