Api urls refactor.