Skip to content

ConfluenceClientOptions

Defined in: index.ts:9

Options for createConfluenceClient.

baseUrl: string

Defined in: index.ts:11

Base URL including the API path, e.g. “https://myorg.atlassian.net/wiki/rest/api”.


optional errors?: ErrorSink

Defined in: index.ts:19

Reports transport failures and unexpected 5xx. Defaults to a no-op.


optional fetch?: (input, init?) => Promise<Response>

Defined in: index.ts:15

Override fetch for testing. Defaults to globalThis.fetch.

string | URL | Request

RequestInit

Promise<Response>


optional logger?: Logger

Defined in: index.ts:17

Structured logger for request/response diagnostics. Defaults to a no-op.


token: string

Defined in: index.ts:13

Base64-encoded “email:apiToken” — use Buffer.from(“email:token”).toString(“base64”).