Skip to main content

API routes

The API is being designed and developed, with priority on current needs. Specifications are available in redoc (which is better formatted visually) and swagger (which allows you to try the API via the interface).

Here is a list of the current routes (last update: 08.09.2022). All routes are available with POST, while some of them also have GET or batch POST alternatives (ref). Routes that are in development are available to try but not yet thoroughly tested and subject to changes, while those in design can be browsed for (provisional) specifications but are not yet implemented. The routes that are not read-only have restricted access.

stringto
Route Status Read-only Description
/search/form/developmentyessearch for word forms by string
/retrieve/lexeme/:lexeme_id/developmentyesget a lexeme
/search/lexeme/developmentyessearch for lexemes
/search/lexical-unit/ developomentdevelopment yes search for lexical units
/retrieve/lexical-unit-lexemes/:lexical_unit_id/ design yes get the lexical unit's component lexemes
/process/string-to-tokens/get-or-create/lexical-unit/designnoget or create a lexical unit based on properties and components
/search/lexeme/ development yes parsesearch afor Slovenelexemes
/retrieve/lexeme/:lexeme_id/developmentyesget a list of tokenslexeme
/get-or-create/lexeme/ development no get or create a lexeme based on defining properties
/search/form/developmentyessearch for word forms by string
/get-or-create/lexical-unit/resource/developmentyesget or create a new dictionary or other resource
/search/resource/ design no getsearch or createlist resources available
/attach/lexical-unit/:lexical_unit_id/developmentyesattach a lexical unit basedto ona properties and componentsresource
/detach/lexical-unit/:lexical_unit_id/ development no detach a lexical unit from a resource
/process/string-to-tokens/developmentyesparse a Slovene string to get a list of tokens