Upload OneDrive Files to item using API

I would like to “attach” a file to an item as a OneDrive file using the API. This would mitigate the creation of duplicate files and dealing with hard copies in more than one location.

Maybe I have missed something, but as far as I can tell (using make.com) I can only physically attach a file to an item.

We can do so using the UI. It would be fantastic to extend the API to support it as well. I assume the payload would be a link or some sort of file identifier. Probably need to set sharing… If that is challenging, the MVP could put the onus of setting up the sharing on the API user. i.e. it would be expected that the file was already shared appropriately prior to attaching it. A future improvement could do it automatically, like the UI does.