'GET /api/user/v1/preferences/{username}/{preference_key}'

def get(self, request, username, preference_key):

    try:
        value = get_user_preference(request.user, preference_key, username=username)
        if (value is None):
            return Response(status=status.HTTP_404_NOT_FOUND)
    except UserNotAuthorized:
        return Response(status=status.HTTP_403_FORBIDDEN)
    except UserNotFound:
        return Response(status=status.HTTP_404_NOT_FOUND)
    return Response(value)
