add api handler


Signed-off-by: cncduLee <shouli1990@gmail.com>