Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

🏑 Atlympic Event: Confluence

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

211 views 6 8
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