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,300,885
Community Members
 
Community Events
165
Community Groups

update table with



Hello!

im trying update date in teble on confluence page.

How can i to update table on confluence page, if i can take date about page with requests:

info = requests.get(url, username.password)

And Im tryin updtae witk method PUT:

date = {'id', '111111',
"version":{'number'}: 2 ,
"title":' New title',
"body":{'storage':{ 'value':"<a>test</a>",}}}
response = requests.put(url, headers=headers, date=json.dump(date), auth = (username,password))

Questions:
1. What is heareds? And Where can I get them?

2. how is this dictionary used? (date). if the page has a table, how can I change its content with this?

Exampe table for 2 question:image.png

I want to add a line in the red cell
and I want to add a new tag in the blue cell

Please help me, I'm new to this(

1 answer

0 votes
Fabian Lim Community Leader Jan 25, 2022

Hi @Ever Last

The HTML content that you have above, is it an html macro that you are trying to update?

Regards

Suggest an answer

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

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

391 views 2 13
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