enabled viewpq api