(doc) adds doc/rest_endpoints.md file