Spell Checker

This describes the endpoints for the optional spell checker add-on for Fonto Editor.

Implementing these endpoints is only required for self-hosted Fonto Spell Checker instances. See the usePublicSpellChecker property of the SpellCheckerConfiguration object for more details.

POST /proxy/spell-checker

Proxies all requests including the route (excluding the '/proxy/spell-checker' path, including the subsequent path), headers and query parameters with its payload to a Fonto Spell Checker instance.

Parameters

context (Required)

The context from which the request was made.

Parameter type

query

context

parameter

required

type

description

editSessionToken

required

string

Uniquely identifies the instance of Fonto Editor. See Invocation of Fonto Editorfor details.

Responses

Responses depend on which subpath is called. However, the proxy endpoint should return responses as is, without any modifications to the HTTP status code, headers, and body.