'GET /api/user/v1/accounts/{username}/'

def retrieve(self, request, username):

    try:
        account_settings = get_account_settings(request, [username], 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[0])
