= API for Wordnet/Cornetto server = Replace ''servername'' with actual address of the server. == Getting the list of available dictionaries for the user == '''Request:''' ''servername''/doc?action=init '''Response:''' JSON encoded hash with following structure {{{ { "slovniky" => { ''client_package_id'' => { "id" => ''client package id'', "dict" => ''dictionary code'', "prava" => ''access rights r/w'', "nazov" => ''package name'', "dicslookup" => ''array of package names to allow lookups to'', "eqtags" => ''array of eqtags+dictionaries'', "dicsreload" => ''array of dictionaries to refresh'', "key" => ''dictionary key tag'' } } } }}} == Querying dictionary == '''Request:''' ''servername''/''dictionary_code''?action=queryList&word=''search_query'' search_query:: search query, must be URL encoded UTF-8 '''Response:''' JSON encoded array of hashes with following structure {{{ { "value" => ''entry ID'', "label" => ''information about an entry, depends on dictionary, usually contains PoS, literals'' } }}}