finish v1 of rest api
Merge pull request #1 from yinchao2/YIN_SEARCH-02

finish v1 of rest api