access a page through node

Mostafa Wagih
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 24, 2023

I need to access a confluence page programmatically using vscode in a node js project, I viewed confluence documentation and other resources but felt lost between authentication and apis, Can someone provide some walkthrough steps or examples ?

1 answer

0 votes
Andrii Maliuta
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 1, 2023

Hello @Mostafa Wagih !

Welcome o the community :)

The basic approach is to use Confluence Cloud REST API - https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content/#api-wiki-rest-api-content-get.

 So you just perform HTTP requests and get the data you need.

I have some very basic guide here about server version:

https://dev.to/andriimaliuta/interact-with-confluence-server-via-rest-api-using-nodejsjs-4m93 , bit it is pretty the same.

Perform HTTP request, get JSON data, parse it and do what you need :)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events