def v1_folder_add(request, response, kvlclient, fid):
    '''Adds a folder belonging to the current user.

    The route for this endpoint is: ``PUT /dossier/v1/folder/<fid>``.

    If the folder was added successfully, ``201`` status is returned.

    (Temporarily, the "current user" can be set via the
    ``annotator_id`` query parameter.)
    '''
    fid = urllib.unquote(fid)
    new_folders(kvlclient, request).put_folder(fid)
    response.status = 201
Adds a folder belonging to the current user.

    The route for this endpoint is: ``PUT /dossier/v1/folder/<fid>``.

    If the folder was added successfully, ``201`` status is returned.

    (Temporarily, the "current user" can be set via the
    ``annotator_id`` query parameter.)