Design intent: Antinote supports a few URL schemes to help you control Antinote from other apps.
Make sure to percent-encode the value of your parameters.
antinote://
antinote://x-callback-url/createNote?content=My%20Note
antinote://x-callback-url/appendToCurrent?content=My%20Note
antinote://x-callback-url/overwriteCurrent?content=My%20Note
antinote://x-callback-url/promoteAndOpen?noteId=123
The noteId can be found in the SQLite DB or by using the search endpoint.
antinote://x-callback-url/togglePin
antinote://x-callback-url/hotkey
antinote://x-callback-url/search?searchTerm=My%20Search%20Term&x-success=your-callback-url
Will send the following in the callback as serialized JSON:
[
"id": UUID,
"content": String,
"lastModified": String
]
For when your script is altering the SQLite DB directly and you want those changes to reflect in Antinote.
antinote://x-callback-url/reloadDB