interface ConfluenceNodeParameters {
bodyAdf?: string;
bodyFormat?:
| "atlas_doc_format"
| "plainText"
| "storage";
bodyPlainText?: string;
bodyStorage?: string;
includeDescendants?: boolean;
maxPages?: number;
operation?: "create"
| "get";
options?: {
createAsDraft?: boolean;
private?: boolean;
rootLevel?: boolean;
};
page?: {
mode: "id"
| "list"
| "url"
| "title";
value: string;
};
parentPage?: {
mode: "id"
| "list"
| "url";
value: string;
};
resource?: "page";
space?: { mode: "id"
| "list"; value: string };
title?: string;
}
Properties§
readonly body Adf?: string
readonly body Format?: "atlas_doc_format" | "plainText" | "storage"
How the page content below is interpreted Default: "plainText"
readonly body Plain Text?: string
Page content as plain text; each line becomes a paragraph. Blank lines and leading whitespace are removed. Type options: {"rows":4}
readonly body Storage?: string
Page content in Confluence storage format Type options: {"rows":4}
readonly include Descendants?: boolean
Whether to also fetch every descendant page of the page, one item per page
readonly max Pages?: number
Safeguard that stops the sub-tree walk after this many pages, root included Default: 100 Type options: {"minValue":1}
readonly operation?: "create" | "get"
Default: "create"
readonly options?: { ... }
Default: {}
readonly page?: { ... }
The page to fetch Default: {"mode":"list","value":""} Type options: {"loadOptionsDependsOn":["space.value"]}
readonly parent Page?: { ... }
The page to create the new page under. Leave empty to create under the space homepage. Default: {"mode":"list","value":""} Type options: {"loadOptionsDependsOn":["space.value"]}
readonly resource?: "page"
Default: "page"
readonly space?: { ... }
The space to create the page in Default: {"mode":"list","value":""}
readonly title?: string
The title of the new page
Page content as an Atlassian Document Format document