Fetch lemma
To fetch all the data for a specific lemma, you can issue a GET request to the following endpoint:
GET https://manc.hu/api/lexicon/<lemma>
Replace the <lemma>
placeholder with the full Manchu entry you want to fetch the data for. You should URL encode any special characters (like spaces) if they are present.
Also set the following headers:
Header | Value |
---|---|
Authorization | Bearer <Your access token> |
An example in cURL:
curl -X GET \
https://manc.hu/api/lexicon/Abkai%20Wehiyehe \
-H 'Authorization: Bearer XXXXX' \
The reponse will be as follows:
{
"lemma": "Abkai Wehiyehe",
"entries": [
{
"id": 2737,
"definitions": [
{
"language": "english",
"definition": "the Qianlong (乾隆) reign period, 1736--96",
"raw": "the Qianlong (乾隆) reign period, 1736--96"
},
{
"language": "chinese",
"definition": "乾隆皇",
"raw": "<p>乾隆皇</p>\n"
}
],
"dictionary": {
"abbreviation": "CMED",
"title": "A Comprehensive Manchu-English Dictionary",
"publicationYear": 2013,
"attributionName": "HUP",
"attributionUrl": "http://www.hup.harvard.edu/catalog.php?isbn=9780674072138",
"compilers": [
{
"initials": "J.",
"firstName": "Jerry",
"lastName": "NORMAN"
},
{
"initials": "K.",
"firstName": "Keith",
"lastName": "DEDE"
}
]
},
"parent": "abka"
},
... (more entries omitted)
]
}
Much of the same data as the /search
endpoint will be returned, but you will get more information about the dictionary in which the lemma was found. If a lemma is not found, the API will return a 404 status.