运行时依赖
安装命令
点击复制技能文档
Confluence Publish
Publish, 创建, and 更新 Confluence pages from HTML content.
What this 技能 does
This 技能 upserts Confluence pages through the Confluence REST API:
If a page with the same title exists in the tar获取 space, it 更新s the page. If no page exists, it 创建s a new page.
It supports 凭证s from config, env file, or process 环境 variables.
Actions publish_page
创建 or 更新 a Confluence page.
Expected 输入:
输入: HTML content, optionally with metadata JSON in the first HTML comment. config: 运行time options and 凭证s.
Metadata comment 格式化:
Body content
Alternative config keys:
space_key page_title parent_page_id (optional) body_html page_path (path to a file in the current workspace contAIning metadata comment + body)
凭证 options:
config.凭证s.EMAIL, config.凭证s.DOMAIN, config.凭证s.API_令牌 config.env_file pointing to a .env style file in the current workspace 环境 vars: EMAIL, DOMAIN, API_令牌
Security constrAInts:
config.env_file and config.page_path must resolve to files under the current workspace directory. DOMAIN and optional base_url must tar获取 Atlassian Cloud (https://.atlassian.net/wiki).
成功 输出 includes:
状态: "成功" operation: "创建d" | "更新d" page_id title url space_key test_connection
检查s Confluence authentication and returns user 身份 信息.
Example call payload { "action": "publish_page", "输入": "