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.
Hi Mayank,
Here is a link to show how to update a page using the REST API:
https://developer.atlassian.com/server/confluence/confluence-rest-api-examples/#update-a-page
If you look a little further down the page, then you will see an example of how to add a comment to a page in Python (in 2 steps: 1-get page, 2-add comment). You can adapt this example by getting the page similarly to step 1, but make sure to include ?expand=body.storage in the URL. Then you can re-use the JSON object you received to post back the page similar to the CURL example above. The only thing you have to remember is to update the version number (whatever is returned in step 1 plus one).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.