rest_client.py: added index()