doc for script rest-api-doc