1.1.0 • Published 6 years ago

confluence-client v1.1.0

Weekly downloads
5
License
MIT
Repository
-
Last release
6 years ago

Confluence Client

A limited client library for confluence.

Usage

var confluence = require('confluence-client')({
    username: "admin",
    password: "***",
    endpoint: "http://confluence.example.com:8090"
})
confluence.get("SPACE","Page Title", ['body.storage']).then(...)

Functions

All functions returns promises.

search

Performs cql search.

ParamDescription
cqlCql query
expandField or fields to expand

request

Queries confluence rest API.

ParamDescription
pathpath to query
paramsParameters to pass

get

Gets confluence page.

ParamDescription
spaceKeySpace key
titlePage title
expandField or fields to expand

properties

Queries page properties.

ParamDescription
spaceKeySpace key
cqlCql query to filter source pages
propertiesProperties to return