condensed /publish endpoints from 4 to 2, all using regex now