add get version info api