Corpus Search

Returns all metadata of one concordance line.

Displays all available text types (metadata) related to the concrete KWIC (hit) defined by its position in the corpus.

get/search/fullref

Request

  • The document declares no server URL.
  • Auth: HTTP basic

Query parameters

corpnamestring required

Corpus name. To query your own corpus (e.g. username john, corpus mycorpus), use value user/john/mycorpus.

posinteger
Example:10336

The position of the first token of KWIC in the corpus.

Response

OK

bncdoc_idstring
bncdoc_authorstring
bncdoc_yearstring
bncdoc_titlestring
bncdoc_infostring
bncdoc_allavastring
bncdoc_alltimstring
bncdoc_alltypstring
bncdoc_genrestring
u_whostring
s_audiostring
api_versionstring
manatee_versionstring

Example response

{
  "Refs": [
    {
      "name": "Token number",
      "id": "#",
      "val": "6270887"
    }
  ],
  "bncdoc_id": "J1C",
  "bncdoc_author": "===NONE===",
  "bncdoc_year": "===NONE===",
  "bncdoc_title": "[Leeds United e-mail list]",
  "bncdoc_info": "[Leeds United e-mail list]. Sample containing about 41810 words of unpublished miscellanea (domain: leisure)",
  "bncdoc_allava": "Ownership has not been claimed",
  "bncdoc_alltim": "1985-1993",
  "bncdoc_alltyp": "Written miscellaneous",
  "bncdoc_genre": "W_email",
  "s_audio": "===NONE===",
  "api_version": "5.63.12",
  "manatee_version": "2.36.7-SkE-2.223.6",
  "request": {
    "corpname": "preloaded/bnc2_tt21",
    "pos": "6270887"
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.