lookup

/lookup allows you to perform dictionary lookups via headwords. It is equivalent to the lookup CLI command. Results are returned only as JSON.

Example Usage

curl "http://localhost:5005/lookup?dictionary=wikieng&query=dog&query=cat"

Parameters

NameDescriptionDefault ValueOptional?
dictionaryThe alias of the dictionary to use (added via dictionaries add).Only if a single dictionary is being served.
queryThe query to lookup. You can pass this parameter multiple times.
followWhether to follow entry aliases.false
splitThe split threshold. See the split command.0