All descendants of a specified weakness, sampling by the view
Path parameters
CWE ID
Query parameters
The View_ID field specifies which view to follow in the Has_Member entries and ChildOf relationships to determine the appropriate descendants. If there are no descendants, the response will be empty. If no view is provided, the descendants in all views will be returned
Response
success
Example response
{
"Data": {
"Type": "class_weakness",
"ID": "671",
"ViewID": "1000"
},
"Children": [
{
"Data": {
"Type": "base_weakness",
"ID": "447",
"ViewID": "1000"
},
"Children": null
},
{
"Data": {
"Type": "base_weakness",
"ID": "798",
"ViewID": "1000"
},
"Children": [
{
"Data": {
"Type": "variant_weakness",
"ID": "259",
"ViewID": "1000"
},
"Children": null
},
{
"Data": {
"Type": "variant_weakness",
"ID": "321",
"ViewID": "1000"
},
"Children": null
}
]
}
]
}Changes
Changed in 3 of the 5 revisions of this API.242
- ▲
the response's body type changed from
arraytoobjectfor statusresponse-body-type-changed
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ▲
- ●
removed the optional property
//from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
//from the response with the statusresponse-optional-property-removed
- ●
- ▲
the response's body type changed from
objecttoarrayfor statusresponse-body-type-changed
- ●
removed the optional property
from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
from the response with the statusresponse-optional-property-removed
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲