Hope that the web api adds the following features to support the development of third-party extensions

As a test, I’ve added support for external editing from the API in the new pre-release. It can be called like so:

openAndWatch

curl --data '{ "action": "openAndWatch", "noteId": "NOTE_ID"}' \
'http://localhost:27583/services/externalEditWatcher/?token=TOKEN'

stopWatching

curl --data '{ "action": "stopWatching", "noteId": "NOTE_ID"}' \
'http://localhost:27583/services/externalEditWatcher/?token=TOKEN'

noteIsWatched

curl --data '{ "action": "noteIsWatched", "noteId": "NOTE_ID"}' \
'http://localhost:27583/services/externalEditWatcher/?token=TOKEN'

I’ll probably add more actions like this under /services over time as it’s easy to add, and a good way to make the app more extendable.

You can already try it in this pre-release, and if you have any question let me know: https://github.com/laurent22/joplin/releases/tag/v1.0.221