update permissions references in api
updated api endpoint routes
Add docs for new endpoint
Add API documentation