Root¶
List the root folders that are accessible by the current user.
Request¶
POST https://api.cloudplan.biz/api/folder/root
{
    "number": 20                    (optional) default 20 - max-number of entries to return
    "skip": 0                       (optional) default 0 - number of entries to skip
    "sorted_by": "name"             (optional) default name - field to sort by
    "sorted_dir":  "ASC"/"DES"      (optional) default ASC
    "admin": true/false             (optional) default false
}
Reply¶
{
    "result": true/false
    "roots": file id
    "number":  the number of returned root folders
}
Error Codes¶
error codes from :doc:`api/user/login`