glossary

Change the glossary of the translation

Tell the machine translator how to translate terms: {"en": {"стенд, стенде, стенда": "lab", "засечки, засечек": "marks", "Занятие": "Lesson"}} -- the target language, the term with the forms of it that differ (separated by commas) and its translation. For a presentation ("slug", you may edit it) or for all of a project ("project", yours). The entries are added to the glossary; an entry with "" as its translation is taken out; "replace": true replaces the whole glossary. The machine translations of the texts with these terms are made again (translations written by people stay).

put/api/v1/glossary

Request

  • Base URL: https://easeweb.host
  • URL: https://easeweb.host/api/v1/glossary
  • Auth: one of:
    • HTTP bearer
    • API key in cookie sessionid

Request body

slugstring

The presentation (its slug) -- or give "project".

projectstring

The project (its slug): its glossary counts for all its presentations.

glossaryobject required

{"<language>": {"<term, its forms>": "<translation>"}}.

replaceboolean

Replace the whole glossary (default: add to it).

Response

OK

object required

Changes

No recorded changes to this operation across all 1 revision of this API.