making the enddpoint doc