code: def register_openai_entrypoint(self, project: str, domain: str):
      resp = self.s.post(
          self._url(f"/api/registry/{project}/openai/register"),
          json={"domain": domain},
      )
      if resp.status_code == 400:
          raise gateway_error(resp.json())
      resp.raise_for_status()
  
file_path: dstack/src/dstack/_internal/server/services/gateways/client.py
imports: import requests
  from dstack._internal.core.errors import GatewayError
  from dstack._internal.core.models.runs import Job, JobProvisioningData
label_desc: Use image node_id 3 for calling the GatewayClient obj's underlying member method code with example usage: obj.register_openai_entrypoint(project, domain) without return types