6

I'd like to create and edit notes created by the iOS Note app programmatically from the server-side.

I can see the notes created by the iOS device in my IMAP folder but any changes I make won't show up on the iOS device.

Does such API exist?

James
  • 2,811
  • 3
  • 25
  • 29

2 Answers2

2

I just wondered myself and tried editing the note with mutt. As emails (via imap anyway) are not meant to be edited (as correctly stated by @CodaFi) mutt copies the note into the editor, saves it as a new "email" and delete the old one. The edited note gets synced to Notes.app just fine.

Beware: The title/subject of the note/mail is derived from the first line of the body.

PS (I don't think it affects the validity of the above): My setup is private IMAP server & mbsync with local Maildir & mutt.

Niko
  • 558
  • 5
  • 14
1

Well, I use the HeaderTools plugin with Thunderbird to accomplish this, so it's certainly possible. The notes app picks up the changes right away.
( I's not a very satisfying solution as HeaderTools only allows editing as html source in its own viewer/editor )
I guess you could fire up wireshark to investigate precisely what goes on. The drafts theory sounds plausible. If I needed to dig into this, I think I would just try it out with python directly, instead of googling around for hours.

Alias_Knagg
  • 886
  • 1
  • 7
  • 21