IFClite TypeScript API
    Preparing search index...

    Function findFoundationApiBaseUrl

    • Base URL of the Foundation API itself (https://host/foundation/1.0), as the server's /foundation/versions lists it, for the OpenCDE APIs that leave /auth and /current-user to it (BCF API 3.0). Returns undefined when the listing is unavailable or names no foundation entry, for the caller to apply its own default. /current-user is sent the access token, so an api_base_url relocated to another origin is followed only over https; a plain-http one is accepted only on the server's own origin.

      Parameters

      Returns Promise<string | undefined>