add api_root

Signed-off-by: ruohan.chen <crhan123@gmail.com>