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,332,458
Community Members
 
Community Events
169
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

Collaboratory Video Series: Confluence Your Way

Hey there, collaborators! We're continuing on with Work and Wellness with a special video series focused on team connection and collaboration, wherever and whenever.  Introducing Confluence ...

182 views 2 11
Read article

Atlassian Community Events