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: 14.10.06.12.2022). All routes are available with POST, while some of them also have GET or batch POST alternatives (ref). The routes that are not read-only have restricted access.

basedontheirproperties
Route Read-only Description
/search/lexical-unit/ yes search for lexical units
/retrieve/lexical-unit-lexemes/ yes getand the lexical unit's component lexemesparts
/get-or-create/lexical-unit/ no get or create a lexical unit based on properties and components
/search/lexeme/ yes search for lexemes
/retrieve/lexeme/ yes get a lexeme
/get-or-create/lexeme/ no get or create a lexeme based on defining properties
/retrieve/lexical-unit-lexemes/yesget the lexical unit's component lexemes
/search/form/ yes search for word forms by string
/retrieve/lexical-unit-senses/yesget the senses of a lexical unit
/retrieve/lexical-unit-sense-relations/yesget the sense relations of a lexical unit's senses
/retrieve/lexical-unit-collocations/yesget the collocations of a lexical unit
/retrieve/lexical-unit-translations/yesget the translations of a lexical unit
/get-or-create/resource/ no get or create a dictionary or other resource
/search/resource/ yes search or list resources available
/attach/lexical-unit/ no attach a lexical unit to a resource
/detach/lexical-unit/ no detach a lexical unit from a resource
/search/syntactic-structure/yesget the XML definitions of syntactic structures
/process/string-to-tokens/ yes parse a Slovene string to get a list of tokens