Protected ReadonlybaseProtected ReadonlyerrorProtected ReadonlyerrorProtected ReadonlyfetchProtected Optional ReadonlygetProtected ReadonlyversionProtectedbuildOptionalquery: Record<string, string | number | undefined>Optionalrequest: BcfRequestOptionsOptionalrequest: BcfRequestOptionsOptionalrequest: BcfRequestOptionsOAuth2 discovery document: /bcf/2.1/auth, or the Foundation API's /auth on 3.0.
Optionalrequest: BcfRequestOptionsSigned-in user: /bcf/2.1/current-user, or the Foundation API's /current-user on 3.0.
Optionalrequest: BcfRequestOptionsOptionalrequest: BcfRequestOptionsOptionalrequest: BcfRequestOptionsOptionaloptions: TopicQueryOptionsOptionalrequest: BcfRequestOptionsBCF's /versions listing, typed as it always was. Its entries carry no
api_id; that field belongs to /foundation/versions (#5438 review).
Optionalrequest: BcfRequestOptionsSnapshot image (PNG/JPEG) of a viewpoint, as served by the server.
ProtectedrequestProtectedrequestOptionaloptions: FoundationRequestOptionsProtectedsendProtectedsendSend a request to an already-fully-qualified URL and validate the response.
Optionaloptions: HttpRequestOptionsOptionalrequest: BcfRequestOptions
Typed client for the buildingSMART BCF API (OpenCDE) REST services, versions 2.1 and 3.0. Every method has the same signature on both; the
versionoption is the one place the difference is chosen:/authand/current-userfrom the Foundation API (/foundation/{version}/...) instead of under/bcf/{version};user_id_typetousers(getExtensionsreturns both names on either version);server_assigned_id, 3.0 comments noreply_to_comment_guid. Both are optional fields on the shared DTOs.Extends
FoundationApiClient: URL building, Bearer token injection, and error mapping, plusgetVersions, are the Foundation API's own and are inherited rather than reimplemented here.