Open rainforest1155 opened 9 years ago
Hi, yes it'll should be enough
Hi, It works! Should I leave the issue open so you can add official support for the notes app in the next release or do you keep track of these things separately?
Sebastian
let it opened
I just installed the notes app which comes with an API. When trying to access my Notes via the CloudNotes iOS app, it doesn't use remote.php / webdav, and thus requires the use of the OTP, which doesn't really work. This appears to be similar to issue #74.
When logging in via CloudNotes, it asks you to enter the Owncloud root path and looking at my web server logs, there's a request like this: /owncloud/index.php/apps/notes/api/v0.2/notes?exclude=content
So, would it be enough to add another line in the /lib/otp.php file at line 241 like this: preg_match("#^/apps/notes/api/v(.*)$#i", $_SERVER['PATH_INFO']) || ?
There's also a Notes API wiki page.
Thanks, Sebastian