Implement trampoline for /_api/replication/batch.