@app.put('/dossier/v1/folder/<fid>/subfolder/<sfid>/<cid>')
@app.put('/dossier/v1/folder/<fid>/subfolder/<sfid>/<cid>/<subid>')
def v1_subfolder_add(request, response, kvlclient,
                     fid, sfid, cid, subid=None):
    if subid is not None:
        assert '@' not in subid
    path = [
        urllib.unquote(fid),
        urllib.unquote(sfid),
        cid + (('@' + subid) if subid is not None else ''),
    ]
    path = '/'.join(path)
    new_folders(kvlclient, request).put(path)
    response.status = 201
Adds a subtopic to a subfolder for the current user.
dataset/ETHPy150Open dossier/dossier.web/dossier/web/routes.py/v1_subfolder_add