SysLookupFolder
Returns the treeId for the specified folder.
Service | Operation |
---|---|
globalFileV3 | SYS_LOOKUP_FOLDER |
Method Parameters
Parameter | Description |
---|---|
fullFolderPath | Fully folder path to lookup |
Usage
http://localhost:3000
- C#
- C++
- Objective-C
- Java
- JavaScript
- Dart
- Cloud Code
- Raw
// S2S call: to view example, switch to the Cloud Code or Raw tab.
// S2S call: to view example, switch to the Cloud Code or Raw tab.
// S2S call: to view example, switch to the Cloud Code or Raw tab.
// S2S call: to view example, switch to the Cloud Code or Raw tab.
// S2S call: to view example, switch to the Cloud Code or Raw tab.
// S2S call: to view example, switch to the Cloud Code or Raw tab.
var globalFileProxy = bridge.getGlobalFileV3ServiceProxy();
var fullFolderPath = "audio/xxx/tempdir";
var postResult = globalFileProxy.sysLookupFolder(fullFolderPath);
if (postResult.status == 200) {
// Success!
}
{
"service": "globalFileV3",
"operation": "SYS_LOOKUP_FOLDER",
"data": {
"fullFolderPath": "audio/xxx/tempdir"
}
}
JSON Response
{
"status": 200,
"data": {
"treeId": "56b1c593-92d2-4e49-a997-0e493111d7b2",
"folderPath": "audio/xxx/tempdir",
"treeVersion": 3
}
}