v1

latestOpenAPI 3.0.3MIT2026-07-1792846.7 KB
CWE

The parent of a specified weakness, sampling by the view

get/cwe/{id}/parents

Path parameters

idstring required

CWE ID

Query parameters

viewstring

The View_ID field specifies which view to follow in the Has_Member entries and ChildOf relationships to determine the direct parent(s). If there are no parents, the response will be empty. If no view is provided, the parents in all views will be returned

Response

success

Typestring integer required
IDstring integer required
ViewIDstring integer
Primary_Parentboolean

Example response

[
  {
    "Type": "base_weakness",
    "ID": "91",
    "ViewID": "1003"
  }
]