Hope to add api to return to joplin basic info(includes installation directory)

For the next pre-release, I've added access to the resource editing service:

openAndWatch

curl --data '{ "action": "openAndWatch", "resourceId": "RESOURCE_ID"}' \
'http://localhost:27583/services/resourceEditWatcher/?token=TOKEN'

stopWatching

curl --data '{ "action": "stopWatching", "resourceId": "RESOURCE_ID"}' \
'http://localhost:27583/services/resourceEditWatcher/?token=TOKEN'

isWatched

curl --data '{ "action": "isWatched", "resourceId": "RESOURCE_ID"}' \
'http://localhost:27583/services/resourceEditWatcher/?token=TOKEN'

I don't know if I want to make this part of the official API yet, but you can give it a try to see if it works for your app.

1 Like