CWE

Children of a specified weakness, sampling by the view

get/cwe/{id}/children

Request

  • Base URL
    /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    none declared

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 children. If there are no children, the response will be empty. If no view is provided, the childen in all views will be returned

Response

success

Typestring integer required
IDstring integer required
ViewIDstring integer

Example response

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

Changes

No recorded changes to this operation across all 5 revisions of this API.