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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,556,850
Community Members
 
Community Events
184
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

Thomas Deiler
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Feb 06, 2018 • edited

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

Atlassian Community Events