mantis:cloudapp:issue:223
POST: /api/1.0/folder/create
The create action creates a new folder with the given attributes.
Arguments:
- label: The label of the folder
- parent: The current parent folder
- cseType: The client side encryption type
- cseKey: The UUID of the key used for client side encryption. Required if cseType not “none”
- edited: Unix timestamp when the user has last renamed the folder
- hidden: Whether or not the folder should be hidden
- favorite: Whether or not the user has marked this folder as favorite
State: 201
Return:
- id: The UUID of the folder
- revision: The UUID of the revision
Notes:
- If the uuid of the parent folder is invalid or does not exist, the base folder uuid will be used instead
- If the folder is not hidden and should be created in a hidden folder, it will be created in the base folder instead
- If the edited argument is “0”, missing or in the future, the current time will be used
mantis/cloudapp/issue/223.txt · Last modified: by domjos
