Skip to content

Get All Inventories by Date

Request

Returns a list of inventories and relevant details within the given date and time. All users can view project inventories of public projects and users with permission can view the inventories of private project

Security
bearerAuth
Query
startTimestring

Start time for an inventory (Format: YYYY-MM-DD HH:MM:SS)

endTimestring

End time for an inventory (Format: YYYY-MM-DD HH:MM:SS)

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"
sizeinteger, (int64)

Page Size. Number Of Records to fetch per page

Default:100
pageinteger, (int64)

Page Number. Index of the page to start with(starts from 1)

Default:1
curl -i -X GET \
  'https://codeinsightapi.redocly.app/_mock/swagger/inventories/searchByDate?startTime=string&endTime=string&published=PUBLISHED&size=100&page=1' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

OK