Skip to main content
POST
/
api
/
v1
/
sca
/
manifests
/
search
List manifests for a repository
curl --request POST \
  --url https://zeropath.com/api/v1/sca/manifests/search \
  --header 'Content-Type: application/json' \
  --header 'X-ZeroPath-API-Token-Id: <api-key>' \
  --header 'X-ZeroPath-API-Token-Secret: <api-key>' \
  --data '
{
  "repositoryId": "<string>",
  "scaScanId": "<string>",
  "organizationId": "<string>",
  "cursor": "<string>",
  "limit": 10,
  "searchQuery": "<string>",
  "hasVulnerabilities": true,
  "transitivity": "direct",
  "packageType": "public",
  "ecosystems": [
    "<string>"
  ]
}
'
{
  "manifests": [
    {
      "manifestId": "<string>",
      "manifestPath": "<string>",
      "totalPackages": 123,
      "vulnerablePackages": 123,
      "directPackages": 123,
      "transitivePackages": 123,
      "applicationName": "<string>",
      "ecosystem": "<string>"
    }
  ],
  "nextCursor": "<string>"
}

Authorizations

X-ZeroPath-API-Token-Id
string
header
required
X-ZeroPath-API-Token-Secret
string
header
required

Body

application/json
repositoryId
string
required
scaScanId
string
required
organizationId
string
cursor
string
limit
integer
default:10
Required range: 1 <= x <= 50
searchQuery
string
hasVulnerabilities
boolean
transitivity
enum<string>
Available options:
direct,
transitive
packageType
enum<string>
Available options:
public,
private
ecosystems
string[]

Response

Successful response

manifests
object[]
required
nextCursor
string | null