How do I use Rest to change the document that displays on my home page?

mark mark May 3, 2017

I am trying to write python to use Rest and change the word editor-in-lin-macro that is displayed on my home page.

Currently users can drag and drop new word or excel files into the macro for word editor showing on the home page.

After attaching a new file I would like to be able to go to the page and change the file that is displayed to the file that was just recently attached.

Is there any way to do this with REST API and Python using OAuth?

1 answer

0 votes
Mirek
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 27, 2022

I am wondering if the attachment cannot be simply updated with the same name and it should make a new version and then it would update also on a page.

Anyway it should be possible to achieve that with no problem with Python and rest api

Similar question

https://community.atlassian.com/t5/Confluence-questions/Append-content-with-Python-to-an-existing-Wiki-Page-via-REST-API/qaq-p/1509335

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events