cURL
curl --request POST \ --url https://zeropath.com/api/v1/sca/repositories/search \ --header 'Content-Type: application/json' \ --header 'X-ZeroPath-API-Token-Id: <api-key>' \ --header 'X-ZeroPath-API-Token-Secret: <api-key>' \ --data ' { "organizationId": "<string>", "repositoryIds": [ "<string>" ], "cursor": "<string>", "limit": 10, "searchQuery": "<string>", "hasVulnerabilities": true, "packageType": "public", "ecosystems": [ "<string>" ] } '
{ "repositories": [ { "repositoryId": "<string>", "repositoryName": "<string>", "scaScanId": "<string>", "scaScanUpdatedAt": "2023-11-07T05:31:56Z", "manifestCount": 123, "uniquePackageCount": 123, "totalInstanceCount": 123, "vulnerablePackageCount": 123 } ], "nextCursor": "<string>" }
Fetch repositories along with aggregated dependency inventory data.
1 <= x <= 50
public
private
Successful response
Show child attributes