Documents
Sections
Per-language sections for the unified viewer.
GET
/
api
/
v2
/
documents
/
attachments
/
{att_id}
/
sections
/
Sections payload for one language (att-centric)
curl --request GET \
--url https://api.example.com/api/v2/documents/attachments/{att_id}/sections/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.example.com/api/v2/documents/attachments/{att_id}/sections/"
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}/sections/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"language": "<string>",
"sections": [
{}
]
}{}Per-language sections payload (text + source boxes) for the viewer. Pair with the file and markdown routes.
Authorizations
extractApiKeybearerAuthcookieAuth
⌘I
Sections payload for one language (att-centric)
curl --request GET \
--url https://api.example.com/api/v2/documents/attachments/{att_id}/sections/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.example.com/api/v2/documents/attachments/{att_id}/sections/"
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}/sections/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"language": "<string>",
"sections": [
{}
]
}{}
