Utility for web interface only. A list of values for a given structure attribute (avattr).
Not to be used outside the web interface. Replaced by a more powerful wordlist.
Request
- The document declares no server URL.
- Auth: HTTP basic
Query parameters
Corpus name. To query your own corpus (e.g. username john, corpus mycorpus), use value user/john/mycorpus.
Selects a structure attribute (reffered to as text type in the web interface). Corpora have different numbers structure attributes and their values. You can find them in the response of the corpus_info method in freqttattrs or subcorpattrs keys. Not all of them have attributes to show.
A regex to filter the results. Empty string defaults to .* (match everything).
The starting index from which to return the results.
The number of items to return.
Switches to the lc attribute, i.e. the lower-cased version of the corpus to allow case insensitive searching. 1 means that case sensitivity is off, 0 means it is on.
The format of the output. Empty value is interpreted as JSON. Not every endpoint supports all formats.
Response
OK
Example response
{
"query": ".*",
"suggestions": [
"[ \"Cookson, Neil Andrew\", … ]"
],
"api_version": "5.63.1",
"manatee_version": "2.36.7-SkE-2.221",
"request": {
"avpat": ".*",
"avmaxitems": "15",
"ajax": "1",
"corpname": "preloaded/bnc2_tt21",
"avfrom": "0",
"icase": "1",
"avattr": "bncdoc.author"
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.