Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,367,637
Community Members
 
Community Events
168
Community Groups

Confluence page body as JSON

Arjun I'm New Here Aug 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 Community Leader Aug 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

Atlassian Community Events