rest api doc
gitignore added