Skip to main content
Version: 5.7.0

SysCreateFolder

Creates a new Global File folder. Returns the updated directory tree and version.

ServiceOperation
globalFileV3SYS_CREATE_FOLDER

Method Parameters

ParameterDescription
folderPathParent directory path. Can include additional directories in path to quickly build a nested structure.
treeVersionCurrent tree version
nameName of the new directory
descDirectory description; will be displayed in Design Portal UI (when available)
createInterimDirectoriesAllows for creating multiple levels of a tree at once

Usage

http://localhost:3000
// S2S call: to view example, switch to the Cloud Code or Raw tab.
JSON Response
{
"status": 200,
"data": {
"globalTree": {
"tree": [
{
"treeId": "2188e9cf-27fa-4a33-8d06-3306f9a74bf8",
"children": null,
"name": "art",
"type": "Folder",
"desc": "Folder for art assets"
},
{
"treeId": "146cce63-da7a-40c7-bd57-5b5f81607523",
"children": null,
"name": "audio",
"type": "Folder",
"desc": "For audio files"
}
],
"treeVersion": 3
}
}
}