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,293,801
Community Members
 
Community Events
165
Community Groups

cloud rest api - import list or json data line by line to page

Hi,

I am trying to find out way to import some of list or json data to confluence page. 

 

e.g. 

 

id, name, sal 

1, ss, 20 

 

I want to publish this data to confluence as a table. 

 

Is there a way to do it using requests module and confluence cloud rest api 

 

Regards

Sukh

1 comment

Hi @Sukhjinder Bhullar 

The REST API has different types of view such as `styled_view`, `export_view`. I would recommend you create a page manually in the desired format with the table and then use "Get content" API and see how the response is.

Then you can use the same format to create new content using "Create content" API.

Thanks Lenin for reply. I have got it worked. 

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Confluence

Confluence: Where work and wellness meet

Feeling overwhelmed by the demands of work and life? With a 25% increase in the prevalence of anxiety and depression worldwide during the pandemic, for most of us, it’s a resounding yes . 🙋‍♀️ ...

767 views 5 21
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you