Base URL of the Documents API itself, e.g.
https://example.com/documents/1.0 — already the version-qualified
api_base_url a /foundation/versions lookup returns (see
discoverDocumentsService), NOT the bare server address.
OptionalerrorName used in the fallback "{errorLabel} request failed (HTTP …) at …" message when a non-2xx response carries no server-supplied detail. Defaults to 'OpenCDE'; a concrete client (BCF, Documents, ...) names itself so the message reads like the rest of that client's errors.
OptionalerrorPrefix of thrown errors' name (see FoundationApiError); defaults to 'Foundation'.
OptionalfetchInjectable fetch, for tests and non-browser hosts.
OptionalgetSupplies the Bearer token per request; omit for anonymous servers.
@ifc-lite/documents-api — client for the buildingSMART OpenCDE Documents API 1.0 (https://github.com/buildingSMART/documents-API): select and download documents from a CDE's UI, poll for new versions, and upload files through the multi-part upload flow. Discovery and OAuth2 auth are
@ifc-lite/opencde-foundation's.