Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 1.4 KB

API documentation.md

File metadata and controls

26 lines (19 loc) · 1.4 KB

API documentation

Vocabulary

api/vocabulary/

Returns a list of voc_names to be used in the following request.

api/vocabulary/:voc_name

URI parameters

Query parameters

  • lang Set the language preference through the Accept-Language standard. i.e. en;q=1, it;q=0.7 *;q=0.1
  • format Output format among json (default) and json-ld.
  • q Search for a particular string. The results are ordered according to a similarity measure based on the Levenshtein distance. The search is multi-language. In case lang is set, the specified language are prioritized in the measure.
  • autocomplete The search accept only labels that includes the q value. The goal is not to find the best matches, but to give good suggestions to the user.

Examples