GET /stats/vulnerability/counts
Changed onReturns the record count per publication period.
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/stats/vulnerability/counts
- AuthAPI key in header X-API-KEY
Query parameters
The source to report on, e.g. cvelistv5 or euvd.
Period granularity of the counts.
With granularity=month, the year whose months are returned (YYYY). Defaults to the current year. Refused with granularity=year, where the answer already carries every year.
Count records by publication date (default) or by reservation date.
Which records to count. date_published (default) counts every record carrying the date, so a past period never changes. state_published counts only those still in state PUBLISHED, so a withdrawal leaves the year it was published in; where a source's records carry their own publication date it is the population the CVSS figures use (not for EUVD, see docs/statistics.md), and it is unavailable for a source whose pass does not write per-source counters and a lifecycle index both. Refused with state=reserved.
Response
Success.
Changes
- info
added the new optional
queryrequest parameterbasis
- info
- warning
deleted the
queryrequest parameterbasis
- warning