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 use
property of the Spell
P OS T /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.