Using url namespace instead of subdomain constraints for API calls