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?