GET/v1/cwe/{cweId}

Retrieve a CWE

Retrieves a specific CWE by its identifier. Supply the cweId path parameter to select the CWE record.

1 parameter
cweIdintegerrequired
The integer CWE ID of the CWE to retrieve, formatted as a 32-bit integer.

3 status codes
200Returns the CWE record matching the supplied ID, including its CWE ID and name.
cweIdintegeroptional
namestringoptional
401Returned when the request is unauthorized.
404Returned when the CWE could not be found.

Error handling

A 401 is returned when the request is unauthorized. A 404 is returned when no CWE matches the cweId path parameter.