mex.editor.api package

Submodules

mex.editor.api.backend module

async mex.editor.api.backend.backend_proxy(path: str, request: Request) → Response

Forward a request to the mex-backend with the editor’s API key injected.

mex.editor.api.i18n module

mex.editor.api.i18n.get_mex_model_translations(lang: Literal['de', 'en']) → dict[str, str]

Convert mex model .po files to .json files.

mex.editor.api.system module

mex.editor.api.system.check_system_status() → VersionStatus

Check that the server is healthy and responsive.

mex.editor.api.vocabulary module

mex.editor.api.vocabulary.get_vocabulary(name: str) → PaginatedItemsContainer[Concept]

Get the concepts of a single vocabulary by its name.

mex.editor.api.vocabulary.list_vocabularies() → list[str]

List the names of all available vocabularies.

Module contents