Added index view to API