add API in doc