Skip to main content

Get Direct Sub-dependency Packages by Source Package

GET 

/code/api/v1/vulnerabilities/packages/:packageUuid/direct-sub-dependencies

Gets all the direct sub-dependencies packages of a specific package. The API accepts a package UUID. There is an option to get the packages sorted by their error count.

Request

Path Parameters

    packageUuid stringrequired

Query Parameters

    limit doublerequired
    offset doublerequired
    sort string

    Possible values: [errors]

Responses

Get direct sub-dependencies packages by source package.

Schema
    directSubDependenciesPackages object[]required
  • Array [
  • errorCount double
    fileMetadataId string
    fileMetadataPath string
    fixableErrorCount double
    images string[]
    isRoot boolean
    licensesMetadata object[]
  • Array [
  • isOsi booleanrequired
    isSpdx booleanrequired
    license stringrequired
  • ]
  • packageId stringrequired
    packageLanguage string
    packageLicenses string[]required
    packageName stringrequired
    packageVersion stringrequired
    repository object
    name string
    owner string
    sourcePackageIds object[]nullable
  • Array [
  • sourcePackageId stringrequired
  • ]
  • ]
  • hasNext booleanrequired
    packageId stringrequired
Loading...