Add index action of the API