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

update table with

Ever Last November 17, 2021


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
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 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
AUG Leaders

Atlassian Community Events