Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Confluence page body as JSON

Arjun
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!
August 22, 2022

Hi,

I am using this API link to get the content of the page. https://company.sev/rest/api/content/page_id?expand=body.view

I am getting the page details in JSON. However, this returns the table data only in the HTML format. I was wondering if there is a way we can get its corresponding JSON value for the same.

1 answer

0 votes
Dominic Lagger
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.
August 22, 2022

Hi @Arjun 

The result is always in JSON and you have to format it to JSON by yourself.

But I think, there are a lot of libraries which do it for you. Just google it :) 

Regards, Dominic

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events