add rest url pattern