added rest api doc
Merge remote-tracking branch 'origin/master'