close
Warning:
Can't synchronize with repository "(default)" (/usr/local/svn/deb2-client does not appear to be a Subversion repository.). Look in the Trac log for more information.
- Timestamp:
-
Mar 25, 2008, 12:04:20 PM (16 years ago)
- Author:
-
Adam
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v1
|
v1
|
|
| 1 | This document describes obsolete API used in older DEBVisDic versions. For current API, see [WordNetApi DEBVisDic API]. |
| 2 | |
| 3 | == Getting the list of available dictionaries for the user == |
| 4 | |
| 5 | '''Request:''' ''servername''/doc?action=init |
| 6 | |
| 7 | '''Response:''' JSON encoded hash with following structure |
| 8 | |
| 9 | {{{ |
| 10 | { |
| 11 | "slovniky" => { |
| 12 | ''client_package_id'' => { |
| 13 | "id" => ''client package id'', |
| 14 | "dict" => ''dictionary code'', |
| 15 | "prava" => ''access rights r/w'', |
| 16 | "nazov" => ''package name'', |
| 17 | "dicslookup" => ''array of package names to allow lookups to'', |
| 18 | "eqtags" => ''array of eqtags+dictionaries'', |
| 19 | "dicsreload" => ''array of dictionaries to refresh'', |
| 20 | "key" => ''dictionary key tag'' |
| 21 | } |
| 22 | } |
| 23 | } |
| 24 | }}} |