switched jsDoc to APIdoc for REST