CWE

CWE content version

This API endpoint returns content version data of CWE.

get/cwe/version

Response

success

ContentVersionstring integer

CWE Content Version

ContentDatestring

Release Date of CWE Content Version

TotalWeaknessesinteger

Total count of Weaknesses in this release

TotalCategoriesinteger

Total count of Categories in this release

TotalViewsinteger

Total count of Views in this release

Example response

{
  "ContentVersion": "4.12",
  "ContentDate": "2023-06-29",
  "TotalWeaknesses": 958,
  "TotalCategories": 409,
  "TotalViews": 53
}

Changes

Changed in 2 of the 5 revisions of this API.255

  • e24b37dc935415See the full diff
    • the response's body type/format changed from number/ to object/ for status 200

      response-body-type-changed

    • added the optional property ContentDate to the response with the 200 status

      response-optional-property-added

    • added the optional property ContentVersion to the response with the 200 status

      response-optional-property-added

    • added the optional property TotalCategories to the response with the 200 status

      response-optional-property-added

    • added the optional property TotalViews to the response with the 200 status

      response-optional-property-added

    • added the optional property TotalWeaknesses to the response with the 200 status

      response-optional-property-added

  • 6455af468fdd15See the full diff
    • the response's body type/format changed from object/ to number/ for status 200

      response-body-type-changed

    • removed the optional property ContentDate from the response with the 200 status

      response-optional-property-removed

    • removed the optional property ContentVersion from the response with the 200 status

      response-optional-property-removed

    • removed the optional property TotalCategories from the response with the 200 status

      response-optional-property-removed

    • removed the optional property TotalViews from the response with the 200 status

      response-optional-property-removed

    • removed the optional property TotalWeaknesses from the response with the 200 status

      response-optional-property-removed

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog