using api url instead of direct registry-ws url