---
title: "Changes to Returns all SourceDocument IDs that match the query parameters."
method: POST
path: "/analysis/code_occurrences"
---

# Changes to Returns all SourceDocument IDs that match the query parameters.

`POST /analysis/code_occurrences`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 7 of 123 revisions.

- **2026-08-04** `99542cbdb5a9`: 1 info
- **2026-07-21** `0c3bfb5d0d74`: 3 breaking
- **2026-07-16** `bd1187f3520e`: 2 info
- **2026-04-13** `fbbe054a012a`: 1 breaking, 1 info
- **2025-09-23** `c5b78916c4e5`: 2 info
- **2025-09-16** `4b87af097afc`: 1 breaking
- **2025-08-19** `a82420d67426`: 1 breaking

## Changes

- **2026-08-04** `99542cbdb5a9`: 1 info
  - added the optional property `items/sdoc/memo_ids` to the response with the `200` status
- **2026-07-21** `0c3bfb5d0d74`: 3 breaking
  - added the new required request property `doctypes`
  - added the new required request property `user_ids`
  - the request's body type changed from `array` to `object`
- **2026-07-16** `bd1187f3520e`: 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
- **2026-04-13** `fbbe054a012a`: 1 breaking, 1 info
  - the response property `items/code/description` became optional for the status `200`
  - the `description` response's property default value `` was added for the status `200`
- **2025-09-23** `c5b78916c4e5`: 2 info
  - the response property `items/sdoc/name` became required for the status `200`
  - response property `items/sdoc/name` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
- **2025-09-16** `4b87af097afc`: 1 breaking
  - added the new required `query` request parameter `return_children`
- **2025-08-19** `a82420d67426`: 1 breaking
  - removed the required property `items/sdoc/status` from the response with the `200` status

---

[Operation](https://skmtc.dev/uhh-lt/apis/discourse-analysis-tool-suite-api/docs/analysis/code_occurrences/post.md) - [API](https://skmtc.dev/uhh-lt/apis/discourse-analysis-tool-suite-api.md) - [Page](https://skmtc.dev/uhh-lt/apis/discourse-analysis-tool-suite-api/changes/analysis/code_occurrences/post)
