rest endpoint plug in