A full representation of a folder. It could be returned from endpoints list_children and get_item.
id string
The unique identifier that represents a folder. The id=”root” should always represent the root directory of your file structure.
type string
Value is always folder.
name string
The name of the folder.
permissions object
- canUpload boolean //Reserved for future use. Set to false
- canRename boolean //Reserved for future use. Set to false
- canDelete boolean //Reserved for future use. Set to false
- canCopy boolean //Allow the user to create other copies of this folder
Response example:
{
"id": "12345",
"type": "folder",
"name": "myFolder",
"permissions": {
"canUpload": false,
"canRename": false,
"canDelete": false,
"canCopy": true,
}
}