URL Scheme

1Writer registers the onewriter:// URL scheme and supports for integration with other apps via the x-callback-url protocol. The format for a URL action looks like this:

onewriter://x-callback-url/[action]?[action parameters]&[x-callback parameters]

Supported x-callback parameters: x-success, x-error and x-cancel.

1Writer supports the following actions:

/create

Creates a new document.

Parameters

Examples

/replace

Replaces content of a document.

Parameters

Examples

/replace-selection

Replaces selected text in the current editing document.

Parameters

/content

Returns content of a document.

Parameters

Examples

/create-todo

Creates a to-do list by separating lines of the text parameter. You can start a line with "+" to indicate a completed todo.

Parameters

Examples

/open

Opens an existing document.

Parameters

Examples

/append

Appends content to an existing document.

Parameters

Examples

/prepend

Prepends content to an existing document.

Parameters

Examples