fetchBookTocs
This action allows you to fetch the table of contents of a publication.
info
The API key must have access rights to commons.
Request
Response
This method returns an array of table of contents entries.
| Name | Type | Description |
|---|---|---|
| Level | integer | Hierarchy level of the item. From 1 to the highest |
| Name | string | Label of the item |
| PageNumber | integer | Page number linked to the item |
Example response
JSON
{
"response": {
"status": "ok",
"version": 2,
"requestid": "tARK2K",
"requests": 206,
"content": {
"total": 0,
"items": []
}
}
}