---
title: "Changes to Retrieve a formatted table of contents for the document"
method: GET
path: "/api/document/{id}/contents"
---

# Changes to Retrieve a formatted table of contents for the document

`GET /api/document/{id}/contents`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 3 of 49 revisions.

- **2026-07-17** `07216792837f` — 1 info
- **2022-04-27** `d17d03cb77e8` — 1 info
- **2020-10-14** `b70359972942` — 2 warning

## Changes

- **2026-07-17** `07216792837f` — 1 info
  - added the new optional `query` request parameter `collapse`
- **2022-04-27** `d17d03cb77e8` — 1 info
  - added the new optional `header` request parameter `If-Modified-Since`
- **2020-10-14** `b70359972942` — 2 warning
  - deleted the `header` request parameter `If-Modified-Since`
  - deleted the `query` request parameter `collapse`

---

[Operation](https://skmtc.dev/eeditiones/apis/tei-publisher-documentation-and-demo/docs/api/document/:id/contents/get.md) · [API](https://skmtc.dev/eeditiones/apis/tei-publisher-documentation-and-demo.md) · [Page](https://skmtc.dev/eeditiones/apis/tei-publisher-documentation-and-demo/changes/api/document/:id/contents/get)
