Skip to main content

API routes

SwaggerThe technicalAPI specificationsis 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 APIcurrent routesroutes. belowRoutes that are in development are available here.to try but not yet thoroughly tested, 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.

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.