added api.url config setting for separate api domains + generate full pagination urls