- fix batch endpoint - migrate batch endpoint to the rest api v2 - add new integration test for batch endpoints