Note: Not sure if the following option is only available when there is an OnlyOffice connector in place.
If you right click a local file within nextcloud clients folder, I get the option to directly open said local file in the browser editor of OnlyOffice.
See here: How to edit with ONLYOFFICE within Nextcloud Desktop | ONLYOFFICE Blog
It seems that this works even when I’m not logged in to nextcloud with the browser. However, the edit option generates different links depending on whether I’m logged in or not.
I’d like to script a small wrapper which decides whether or not a local file should be opened via the OnlyOffice online browser or via a local (MS) Office installation but for that, I’d need these direct editing links.
Is there any way to retrieve one or both of these URL(s)?
And/or can I somehow detemine the file ids based on the local files to build a direct edit link myself?