cURL
curl --request POST \ --url https://zeropath.com/api/v1/sca/manifests/packages/search \ --header 'Content-Type: application/json' \ --header 'X-ZeroPath-API-Token-Id: <api-key>' \ --header 'X-ZeroPath-API-Token-Secret: <api-key>' \ --data ' { "manifestId": "<string>", "organizationId": "<string>", "offset": 0, "limit": 25, "searchQuery": "<string>", "hasVulnerabilities": true, "transitivity": "direct", "packageType": "public", "ecosystems": [ "<string>" ], "sortBy": "name" } '
{ "packages": [ { "id": "<string>", "name": "<string>", "ecosystem": "<string>", "isDirectDependency": true, "hasTransitivePaths": true, "pathCount": 123, "isPrivate": true, "licenses": [ { "name": "<string>" } ], "vulnerabilityCount": 123, "allInstanceIds": [ "<string>" ], "repositoryId": "<string>", "repositoryName": "<string>", "manifestPath": "<string>", "version": "<string>", "manifestStartLine": 123, "manifestEndLine": 123, "codeScanVulnerabilityId": "<string>", "branch": "<string>", "commitSha": "<string>" } ], "totalCount": 123, "hasMore": true }
Retrieve deduplicated dependency records for a specific manifest.
x >= 0
1 <= x <= 100
direct
transitive
public
private
name
vulnerabilities
Successful response
Show child attributes