[dist] add endpoint