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,299,198
Community Members
 
Community Events
165
Community Groups

How to update a page with Python using REST API?

I am new with this confluence and want to update a confluence page automatically rather than manual effort. Can you suggest how to get start. 

1 comment

Dear @Mayank Koli,

best you make use of the Python Confluence library.

So long

Thomas

Thanks Thomas for your resp....I will check it ....I have no idea about it...

Hi Thomas, 


I tried with the example but it is giving error.

And my code is 

from confluence.client import Confluence
with Confluence("https://confluence.org.com/confluence",('user','abc')) as c:

        page = c.search("ID=10"

Error:

Traceback (most recent call last):
File "c:\PYTHONWORK\confluence\test1.py", line 4, in <module>
page = c.search("ID=10")
AttributeError: 'NoneType' object has no attribute 'search

Thomas Deiler Community Leader Feb 07, 2018

Dear @Mayank Koli,

I have no xp with this python lib. The title of your question suggested, that you know what to do in Python.

So long

Thomas

Comment

Log in or Sign up to comment
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...

260 views 2 5
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