add rest url for get by name