Skip to content

Get Inventory Summary of the project

Request

Get Project level inventory summary

Security
bearerAuth
Path
projectIdinteger, (int64), >= 1required

ID of the Project

Example:1
Query
vulnerabilitySummaryboolean

If false , hide vulnerabilty summary details

Default:false
cvssVersionstring

CVSS : This field is required only if vulnerabilitySummary is set to true

Enum:"V2""V3""ANY"
publishedstring

If published, then only published inventory items are returned; if unpublished, then only not-published inventory items are returned; if all, then return all inventories

Default:"PUBLISHED"
Enum:"PUBLISHED""UNPUBLISHED""ALL"
offsetinteger, (int64), >= 1

Index of the page to start with

Default:1
limitinteger, (int64), >= 1

Number Of Records to fetch

Default:25
curl -i -X GET \
  'https://codeinsightapi.redocly.app/_mock/swagger/projects/1/inventorySummary?vulnerabilitySummary=false&cvssVersion=V2&published=PUBLISHED&offset=1&limit=25' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

OK