Skip to main content

FuseConfluenceSDK

@appfire/fuse-confluenceDocs


@appfire/fuse-confluence / FuseConfluenceSDK

Class: FuseConfluenceSDK

Constructors

new FuseConfluenceSDK()

new FuseConfluenceSDK(confluenceRestClient?): FuseConfluenceSDK

Parameters

confluenceRestClient?: ConfluenceRestClient

Returns

FuseConfluenceSDK

Defined in

index.ts:27

Properties

comments

readonly comments: CommentsResource

Defined in

index.ts:24


spaces

readonly spaces: SpacesResource

Defined in

index.ts:25


users

readonly users: UserResource

Defined in

index.ts:23

Methods

appendUrlParams()

appendUrlParams(url, urlParams): string | string[]

Parameters

url: string | string[]

urlParams: string

Returns

string | string[]

Defined in

index.ts:67


findPageResourceByTitleInSpace()

findPageResourceByTitleInSpace(spaceId, pageTitle): Promise\<PageResource>

Parameters

spaceId: string

pageTitle: string

Returns

Promise\<PageResource>

Defined in

index.ts:80


getAppInfoResource()

getAppInfoResource(): AppInfoResource

Returns

AppInfoResource

Defined in

index.ts:70


getCacheableMacroResource()

getCacheableMacroResource(): CacheableMacro

Returns

CacheableMacro

Defined in

index.ts:54


getCommentResource()

getCommentResource(): CommentsResource

Returns

CommentsResource

Defined in

index.ts:35


getConversionResource()

getConversionResource(): ConversionResource

Returns

ConversionResource

Defined in

index.ts:58


getDecryptResource()

getDecryptResource(): DecryptResource

Returns

DecryptResource

Defined in

index.ts:64


getGroupResource()

getGroupResource(): GroupResource

Returns

GroupResource

Defined in

index.ts:47


getMacroResources()

getMacroResources(): MacroResource

Returns

MacroResource

Defined in

index.ts:61


getPage()

getPage(pageId): PageResource

Parameters

pageId: string

Returns

PageResource

Defined in

index.ts:43


getSpaceResources()

getSpaceResources(): SpacesResource

Returns

SpacesResource

Defined in

index.ts:39


getTemplateResource()

getTemplateResource(): TemplateResource

Returns

TemplateResource

Defined in

index.ts:51


getUserResource()

getUserResource(): UserResource

Returns

UserResource

Defined in

index.ts:31


sendRequest()

static sendRequest\<T>(config): Promise\<T>

Type Parameters

T

Parameters

config: HttpConfig

Returns

Promise\<T>

Defined in

index.ts:73