merge plugin api