'GET /api/user/v1/accounts?username={username1,username2}'

def list(self, request):

    usernames = request.GET.get('username')
    try:
        if usernames:
            usernames = usernames.strip(',').split(',')
        account_settings = get_account_settings(request, usernames, view=request.query_params.get('view'))
    except UserNotFound:
        return Response(status=(status.HTTP_403_FORBIDDEN if request.user.is_staff else status.HTTP_404_NOT_FOUND))
    return Response(account_settings)
