Add api version setting and preview code coverage api