{"repo":"MrRefactoring/confluence.js","free":true,"listed":false,"github":"https://github.com/MrRefactoring/confluence.js","clone":"git clone https://github.com/MrRefactoring/confluence.js.git","description":"confluence.js is a powerful Node.JS/Browser module that allows you to interact with the Confluence API very easily","language":"TypeScript","stars":85,"topics":["confluence","atlassian","atlassian-confluence","wiki","rest","rest-api","client","wrapper","api"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Type-safe Confluence REST API client for Node.js and browsers Documentation · Getting Started · API Reference · Русский About confluence.js covers both Confluence Cloud REST APIs from one package: - Cloud REST API v2 — 30 namespaces, 218 methods - Cloud REST API v1 — 28 namespaces, 130 methods Both are first-class. Atlassian has not deprecated v1, and the two cover different ground: v1 still owns what v2 has no equivalent for, and v2 owns everything Atlassian has moved forward. Every response is validated at runtime against a Zod 4 schema derived from Atlassian's OpenAPI spec, so API drift surfaces as a ZodError rather than as undefined three call frames later. - ESM-only, Node ≥ 22, no polyfills — the transport is the built-in fetch - Tree-shakable: only the endpoints you import reach your bundle - One runtime dependency: zod Table of Contents - Getting Started - Authentication - Two ways to use it - Choosing between v1 and v2 - Error handling - Retries - Migrating from 2.x - Other Products - License Getting Started host is your bare site URL. The API path ( /wiki/api/v2 , /wiki/rest/api ) belongs to the request, not to host — so one host serves both versions. Authentication Basic Create an API token in Atlassian account settings: OAuth 2.0 (3LO) Hand over your app credentials and a refresh token. The client refreshes before expiry, retries once on a 401, and resolves the cloud id itself: No host : 3LO tokens only work through api.atlassian.com , never on your site's own dom","default_branch":null,"files":null,"tree":[],"storefront":"/r/MrRefactoring","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/MrRefactoring/confluence.js/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}