IFClite TypeScript API
    Preparing search index...

    Base client for every OpenCDE REST API mounted under {baseUrl}/{version} with a sibling /versions resource (Foundation API §2.1). Implements the three services the Foundation API itself defines — versions, /auth discovery and /current-user — plus the URL building and JSON request plumbing that BcfApiClient (and any future OpenCDE service client built the same way) extends with its own resources.

    Hierarchy (View Summary)

    Index
    baseUrl: string
    errorLabel: string
    errorNamespace: string | undefined
    fetchFn: FetchLike
    getAccessToken?: BcfTokenProvider
    version: string
    • Parameters

      • path: string
      • Optionalquery: Record<string, string | number | undefined>

      Returns string

    • This API's own {base}/versions listing; see getFoundationVersions for the server-wide one.

      Returns Promise<ApiVersion[]>