Add quary device info api