Corpus - Fetch text by ID
To fetch the contents of a single text, use the following endpoint:
GET https://manc.hu/api/corpus/texts/<id>
Replace the <id>
placeholder with the unique ID of the text you want to get the contents for. For more info on finding the ID for a text, see the List texts page.
Don't forget to set the Authorization
header:
Header
Value
Authorization
Bearer <Your access token>
The response will be as follows:
{
"id": 122959,
"dateFrom": "1685",
"dateTo": null,
"description": null,
"titleEnglish": "Intro to the Profound Mirror of Classical Prose",
"titleManchu": "Han i araha gu wen yuwan giyan bithei sioi",
"titleChinese": "古文淵鑑序",
"manchuType": "Translation, monolingual",
"genre": "Historical narrative",
"textForm": "Narrative",
"reignPeriod": "Kangxi (1662 - 1722)",
"facsimileUrl": "https://manc.hu/reader/PPN3346157423.pdf",
"pages": [
{
"page": 1,
"lines": [
"han i araha gu wen yuwan giyan bithei sioi .",
"abka na be ijire wekjire be xu sembi . xu serengge ,",
"doro be tebure tetun , jalan forgon be akvmbume kvwarame ,",
"julge te be uherileme xoxome , niyalma jaka be forgoxome",
"iqihiyanjarangge . uttu ofi kiyan i buheliyehe kun i",
"saraha be . xu waka oei badarambuqi ojorakv ,",
"enduringge i"
]
},
{
"page": 2,
"lines": [
... (lines omitted)
]
},
... (more pages omitted)
]
}
Last updated
Was this helpful?