Useful endpoint for health checks.
200 OK if the service is running.
List all the languages supported.
200 OK
MIME type: application/json
Content: a JSON object of the supported language tables. Keys are the keywords
used throughout the API, e.g. for /transliterate. Each key is paired with an
object that contains some basic metadata about the language features. At the
moment, only the human-readable name is available.
Dump a language table.
<lang>: Language code as given by the/languagesendpoint.
200 OK
MIME type: application/json
Content: language configuration as a JSON object with all the transliteration rules as they are read by the application. If the table inherits from a parent, the computed values from the merged tables are shown.
Get options available for a script.
<lang>: Language code as given by the/languagesendpoint.
200 OK
MIME type: application/json
Content: list of options as a JSON object.
Transliterate an input string into a given language.
MIME type: application/json
Content: JSON object with the following keys:
lang: Language code as given by the/languagesendpoint.text: Input text to be transliterated.capitalize: One offirst(capitalize the first letter of the input),all(capitalize all words separated by spaces), or null (default: apply no additional capitalization). All options leave any existing capitalization unchanged.t_dir: Direction of the transliteration or transcription: eithers2r(default: script to Roman) orr2s(Roman to script).
200 OKon successful operation.400 Bad Requestfor an invalid request. The reason for the failure is normally printed in the response body.
MIME Type: application/json
Content: JSON object containing two keys: ouput containing the transliterated
string; and warnings containing a list of warnings. Characters not found in
the mapping are copied verbatim in the transliterated string (see
"Configuration files" section for more information).
Send a feedback form about a transliteration result.
MIME type: application/json
Content: JSON object with the following keys:
`lang`: language of the transliteration. Mandatory.
`src`: source text. Mandatory.
`t_dir`: transliteration direction. If omitted, it defaults to `s2r`.
`result`: result of the transliteration. Mandatory.
`expected`: expected result. Mandatory.
`options`: options passed to the request, if any.
`notes`: optional user notes.
`contact`: contact email for feedback. Optional.