View rest handler.