Skip to main content

API routes

Public (read-only) routes

/search-batch/lexical-unit/

Search for lexical units matching the input parameters.

/retrieve/lexeme/{lexeme_id}/

Retrieve data of a lexeme.

Always includes the lemma, part of speech and lexeme-level properties.

Can also include a hierarchy of the lexeme's forms, if the "extra-data" field is included in the request JSON body with a suitable value. The supported values are:

/search/form/

Search for lexeme forms matching the string provided.

/retrieve/lexical-unit-forms-status/{lexical_unit_id}/

Retrieve the forms of each component of a lexical unit, along with their status.

/process/string-to-tokens/

Process a Slovene string to get a structured list of tokens using the CLASSLA parser.

Restricted (read/write) routes

/create-batch/lexical-unit/

Create (or find) lexical units (and their components, if need be) based on the input parameters provided.

/detach/lexical-unit/{lexical_unit_id}/

Detach a lexical unit from a particular resource.

/create/lexeme/

Create (or find) a lexeme (and its forms, if need be) based on the input parameters provided.