
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
@hyperingenuity/confluence-api
Advanced tools
Confluence API wrapper for NodeJS Rewrite in typescript from https://github.com/johnpduane/confluence-api
This project contains a Node.js module which wraps Atlassian's Confluence API.
node-fetch form-data @types/node
Install confluence-api via npm:
$ npm install confluence-api
Create an instance of Confluence by providing a username and password (or token) and a baseUrl used for all future requests. Confluence uses basic http authentication. For instance:
import Confluence from "confluence-api";
let config = {
username: "testuser",
password: "test-user-pw-or-rest-api-token",
baseUrl: "https://confluence-api-test.atlassian.net/wiki",
version: 4 // Confluence major version, optional
};
const confluence = new Confluence(config);
let data = await confluence.getContentByPageTitle("space-name", "page-title");
// do something interesting with data; for instance,
// data.results[0].body.storage.value contains the stored markup for the first
// page found in space 'space-name' matching page title 'page-title'
Confluence currently exposes the following API...
Kind: global class
this: {Confluence}
Construct Confluence.
| Param | Type | Description |
|---|---|---|
| config | Object | |
| config.username | string | |
| config.password | string | The password or REST API Token for the user (docs) |
| config.baseUrl | string | |
| config.version | number | Optional |
Get all spaces information, cycling through res.limit.
Kind: instance method of Confluence
Get space information.
Kind: instance method of Confluence
| Param | Type |
|---|---|
| space | string |
Get space home page.
Kind: instance method of Confluence
| Param | Type |
|---|---|
| space | string |
Get stored content for a specific space and page title.
Kind: instance method of Confluence
| Param | Type |
|---|---|
| id | string |
Get stored content for a specific page id with optional custom expanders.
Kind: instance method of Confluence
| Param | Type | Description |
|---|---|---|
| options | object | for the custom content request |
Get stored content for a specific space and page title.
Kind: instance method of Confluence
| Param | Type |
|---|---|
| space | string |
| title | string |
Post content to a new page.
Kind: instance method of Confluence
| Param | Type | Description |
|---|---|---|
| space | string | |
| title | string | |
| content | string | |
| parentId | number | A null value will cause the page to be added under the space's home page |
| representation | string | Optional |
Put/update stored content for a page.
Kind: instance method of Confluence
| Param | Type | Description |
|---|---|---|
| space | string | |
| id | string | |
| version | number | |
| title | string | |
| content | string | |
| minorEdit | boolean | Optional |
| representation | string | Optional |
Delete a page.
Kind: instance method of Confluence
| Param | Type |
|---|---|
| id | string |
Get attachments
Kind: instance method of Confluence
| Param | Type |
|---|---|
| space | string |
| id | string |
This allows you to post attachments to the pages you create.
Kind: instance method of Confluence
| Param | Type | Description |
|---|---|---|
| space | string | |
| id | string | |
| filepath | string | absolute path of the file you are sending |
This allows you to update posted attachments data
Kind: instance method of Confluence
| Param | Type |
|---|---|
| space | string |
| id | string |
| attachmentId | string |
| filepath | string |
Get labels from content
Kind: instance method of Confluence
| Param | Type |
|---|---|
| id | string |
Post content labels to a existing page.
Kind: instance method of Confluence
| Param | Type |
|---|---|
| id | string |
| labels | Array.<{prefix:string, name:string}> |
Delete a label from a page.
Kind: instance method of Confluence
| Param | Type |
|---|---|
| id | string |
| label | string |
Search by query
Kind: instance method of Confluence
| Param | Type |
|---|---|
| query | string |
See doc Inspired from haalcala based on his PR
Kind: instance method of Confluence
| Param | Type |
|---|---|
| id | string |
| child_type | string |
See doc Inspired from haalcala based on his PR
Kind: instance method of Confluence
| Param | Type |
|---|---|
| id | string |
| child_type | string |
Inspired from this
Returns pdf buffer that can be:
Kind: instance method of Confluence
| Param | Type |
|---|---|
| id | string |
Node.js wrapper for Atlassian's Confluence API. See https://developer.atlassian.com/confdev/confluence-rest-api
Copyright (c) 2015, John Duane Newly features have been implemented by loopingz team freely inspired from haalcala work and atlassian-python-api contributors work
Released under the MIT License
FAQs
Confluence API wrapper for NodeJS Rewrite in typescript from https://github.com/johnpduane/confluence-api
The npm package @hyperingenuity/confluence-api receives a total of 2 weekly downloads. As such, @hyperingenuity/confluence-api popularity was classified as not popular.
We found that @hyperingenuity/confluence-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.