Add doc for endpoints