rewrite site restful api without doc api