@app.get('/dossier/v1/folder/<fid>/subfolder', json=True)
def v1_subfolder_list(request, response, kvlclient, fid):
    fid = urllib.unquote(fid)
    try:
        return sorted(imap(attrgetter('name'),
                           ifilter(lambda it: it.is_folder(),
                                   new_folders(kvlclient, request).list(fid))))
    except KeyError:
        response.status = 404
        return []
Retrieves a list of subfolders in a folder for the current user.
dataset/ETHPy150Open dossier/dossier.web/dossier/web/routes.py/v1_subfolder_list