confluence-v2
Full Confluence Cloud REST API v2 skill (pages, spaces, folders, databases, whiteboards, comments, labels, tasks, properties, etc.) with basic/OAuth auth, pagination, and migration from confluence-cli.
- License 许可
- MIT
- 最近更新
- 2026-08-23
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- confluence-v2
- description
- Full Confluence Cloud REST API v2 skill (pages, spaces, folders, databases, whiteboards, comments, labels, tasks, properties, etc.) with basic/OAuth auth, pagination, and migration from confluence-cli.
02 资源文件 37
- 参考文档_meta.json296 B
- 参考文档refs/endpoints.md2.1 KB
- 参考文档refs/openapi-v2.v3.json582.2 KB
- 参考文档refs/scopes.md818 B
- 参考文档refs/tests.md361 B
- 参考文档refs/usage.md389 B
- 脚本scripts/admin-key.js674 B
- 脚本scripts/ancestors.js426 B
- 脚本scripts/app-properties.js985 B
- 脚本scripts/attachments.js1.3 KB
- 脚本scripts/blogposts.js1.1 KB
- 脚本scripts/call.js497 B
- 脚本scripts/children.js665 B
- 脚本scripts/classification.js1.5 KB
- 脚本scripts/client.js3.1 KB
- 脚本scripts/comments.js1.7 KB
- 脚本scripts/content.js440 B
- 脚本scripts/data-policies.js550 B
- 脚本scripts/databases.js688 B
- 脚本scripts/descendants.js430 B
- 脚本scripts/embeds.js676 B
- 脚本scripts/folders.js1010 B
- 脚本scripts/labels.js1.3 KB
- 脚本scripts/likes.js457 B
- 脚本scripts/migrate-from-confluence-cli.js1.1 KB
- 脚本scripts/operations.js504 B
- 脚本scripts/pages.js1.5 KB
- 脚本scripts/properties.js1.0 KB
- 脚本scripts/redactions.js398 B
- 脚本scripts/space-permissions.js705 B
- 脚本scripts/space-properties.js1004 B
- 脚本scripts/space-roles.js1.4 KB
- 脚本scripts/spaces.js977 B
- 脚本scripts/tasks.js800 B
- 脚本scripts/users.js800 B
- 脚本scripts/versions.js825 B
- 脚本scripts/whiteboards.js696 B
03 SKILL.md 正文
Confluence Cloud REST API v2
Use this skill to call Confluence Cloud REST API v2 endpoints directly. Supports all v2 groups (pages, spaces, folders, whiteboards, databases, embeds, comments, labels, properties, tasks, etc.).
Quick Start
- Configure credentials (one of):
- Basic: email + API token
- OAuth: access token
- Call endpoints using scripts in
scripts/.
Config
Set these env vars (preferred) or store in a local config file:
CONFLUENCE_BASE_URL=https://pangin.atlassian.net/wiki
CONFLUENCE_AUTH_METHOD=basic # basic | oauth
CONFLUENCE_EMAIL=chrono3412@gmail.com
CONFLUENCE_API_TOKEN=YOUR_TOKEN
# or for OAuth
# CONFLUENCE_OAUTH_TOKEN=YOUR_OAUTH_ACCESS_TOKEN
# Optional admin key header (Premium/Enterprise only)
# CONFLUENCE_ADMIN_KEY=true
Base URL is always https://<site>.atlassian.net/wiki.
Core Helpers
scripts/client.js— HTTP client wrapper, auth header, paginationscripts/*— endpoint groups (pages, spaces, folders, etc.)
Example
# list everything
node scripts/spaces.js list --all
node scripts/pages.js list --all
node scripts/labels.js list --all
# get single items
node scripts/pages.js get 89522178
node scripts/folders.js direct-children 87457793
# ad-hoc call
node scripts/call.js GET /folders/87457793/direct-children
Migration from confluence-cli
If ~/.confluence-cli/config.json exists, map:
domain→CONFLUENCE_BASE_URL(https://{domain}/wiki)email→CONFLUENCE_EMAILtoken→CONFLUENCE_API_TOKEN
References
- OpenAPI spec:
refs/openapi-v2.v3.json - Endpoints list:
refs/endpoints.md - Scopes:
refs/scopes.md - Tests:
refs/tests.md - Usage tips:
refs/usage.md
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
git-summary
Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.
agent-constitution
Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.