SysGetFileInfoSimple
Returns information on a file using path and name.
Service | Operation |
---|---|
groupFile | SYS_GET_FILE_INFO_SIMPLE |
Method Parameters
Parameter | Description |
---|---|
groupId | The id of the group. |
folderPath | The folder path. |
filename | The file name. |
Usage
http://localhost:3000
- C#
- C++
- Objective-C
- Java
- JavaScript
- Dart
- Cloud Code
- Raw
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
var groupId = "dfsfsffsd";
var folderPath = "";
var filename = "cccc";
var groupFileProxy = bridge.getGroupFileServiceProxy();
var postResult = groupFileProxy.sysGetFileInfoSimple(groupId, folderPath, filename);
if (postResult.status == 200) {
// Success!
}
{
"service": "groupFile",
"operation": "SYS_GET_FILE_INFO_SIMPLE",
"data":
{
"groupId": "dfsfsffsd",
"folderPath": "",
"filename": "cccc"
}
}
JSON Response
{
"data": {
"fileDetails": {
"treeId": "d9e937cc-750f-4414-962c-838f1af3f34a",
"fileName": "glog.json",
"fileSize": 7051,
"dateUploaded": 1677183768000,
"etag": "08c580b36ee79773bfec4a3c51bd1b64",
"acl": {
"member": 2,
"other": 0
},
"version": 1,
"url": "https://api.internal.braincloudservers.com/groupfiles/bc/g/23782/gr/2bf538d1-19ea-4e14-9862-f979215e09b7/d9e937cc-750f-4414-962c-838f1af3f34a/6d938c22-3b8c-4b99-a913-2edafed71a83/V1/glog.json",
"fileId": "6d938c22-3b8c-4b99-a913-2edafed71a83"
},
"groupId": "2bf538d1-19ea-4e14-9862-f979215e09b7"
},
"status": 200
}