1Writer

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

Example

open

Opens an existing document.

Parameters

Example

append

Appends content to an existing document.

Parameters

Example

prepend

Prepends content to an existing document.

Parameters

Example