RENOTE URL Scheme
Supports two basic calls; they are not comprehensive, but enough for the purpose of the app. Fully supports
new: Adds a new note
get: Opens up RENOTE app, sends a URL-encoded note text after the user selects a Note. Requires
- Adds a new note in RENOTE
- required parameters:
text: text to add to renote.
x-callback-urlis not a requirement.
This action should be used to get a note text into another app. Opens RENOTE in selection mode and sends a User-selected note text via
X-Callback-URL is required for this to work.
x-successshould have a target URL that receives the text.
- RENOTE adds parameter
text=and appends the
text-to-addto x-success when user selects the Note and taps Send.
- Note text is URL Encoded and requires to be decoded at the receiver's end.
Variables – Custom Action URLs
Variables found in the custom action URLs are replaced with URL encoded strings:
[[note]]: Entire text typed within the editing space.
[[title]]: Top line. If whole text is a single line, then the first 30 characters are returned.
[[text]]: Text beyond the Title. If the whole text is a single line (title), then this will return the whole text.
[[filename]]: Creates a filename from the text. A valid fileame is created from the top line. If theres no top-line, the first valid 55 characters are sanitized and appended with a
drafts4://create?text=[[note]]. Where note is replaced with the entire text.