Optional ReadonlyaccessReadonlybaseOptional Readonlyexpandexpand parameter for confluence rest api description can be found at https://developer.atlassian.com/server/confluence/expansions-in-the-rest-api/
ReadonlylimitReadonlymaxOptional ReadonlypersonalReadonlyspaceOptional ReadonlyusernameProtectedfetchFetches data from the Confluence API using the provided URL.
The URL to fetch data from.
Promise resolving to the JSON response from the API.
Fetches all the pages in the specified space and converts each page to a Document instance.
Optionaloptions: { the extra options of the load function
Optionallimit?: numberThe limit parameter to overwrite the size to fetch pages.
Optionalstart?: numberThe start parameter to set inital offset to fetch pages.
Promise resolving to an array of Document instances.
Optionalsplitter: BaseDocumentTransformer<DocumentInterface<Record<string, any>>[], DocumentInterface<Record<string, any>>[]>A Promise that resolves with an array of Document instances, each split according to the provided TextSplitter.
Class representing a document loader for loading pages from Confluence.
Example