add extension api
add commonapi