updated the api template with the content of the API doc