Documents
Rendered markdown
Whole-document markdown for one language.
GET
/
api
/
v2
/
documents
/
attachments
/
{att_id}
/
markdown
/
Whole-document rendered markdown for one language
curl --request GET \
--url https://api.example.com/api/v2/documents/attachments/{att_id}/markdown/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.example.com/api/v2/documents/attachments/{att_id}/markdown/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.example.com/api/v2/documents/attachments/{att_id}/markdown/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"language": "<string>",
"html": "<string>"
}{}Whole-document markdown for one language (transcription + optional translation). Used by the viewer’s Sections tab.
Authorizations
extractApiKeybearerAuthcookieAuth
⌘I
Whole-document rendered markdown for one language
curl --request GET \
--url https://api.example.com/api/v2/documents/attachments/{att_id}/markdown/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.example.com/api/v2/documents/attachments/{att_id}/markdown/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.example.com/api/v2/documents/attachments/{att_id}/markdown/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"language": "<string>",
"html": "<string>"
}{}
