---
title: "Changes to The ancestors of a specified weakness, sampling by the view"
method: GET
path: "/cwe/{id}/ancestors"
---

# Changes to The ancestors of a specified weakness, sampling by the view

`GET /cwe/{id}/ancestors`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 3 of 5 revisions.

- **2024-08-25** `655593db0510` — 1 breaking, 2 info
- **2024-07-24** `6060dc2f2558` — 2 warning
- **2024-07-22** `dd1a325c0302` — 1 breaking, 2 warning

## Changes

- **2024-08-25** `655593db0510` — 1 breaking, 2 info
  - the response's body type changed from `array` to `object` for status `200`
  - added the optional property `Data` to the response with the `200` status
  - added the optional property `Parents` to the response with the `200` status
- **2024-07-24** `6060dc2f2558` — 2 warning
  - removed the optional property `items/items/Data` from the response with the `200` status
  - removed the optional property `items/items/Parents` from the response with the `200` status
- **2024-07-22** `dd1a325c0302` — 1 breaking, 2 warning
  - the response's body type changed from `object` to `array` for status `200`
  - removed the optional property `Data` from the response with the `200` status
  - removed the optional property `Parents` from the response with the `200` status

---

[Operation](https://skmtc.dev/cwe-capec/apis/cwe-capec-api-1-0/docs/cwe/:id/ancestors/get.md) · [API](https://skmtc.dev/cwe-capec/apis/cwe-capec-api-1-0.md) · [Page](https://skmtc.dev/cwe-capec/apis/cwe-capec-api-1-0/changes/cwe/:id/ancestors/get)
