Skip to main content

Get Package

GET 

/code/api/v1/vulnerabilities/packages/:packageUuid

Gets Package by its uuid. The API accepts a package UUID.

Request

Path Parameters

    packageUuid stringrequired

Query Parameters

    include string

    options to get more data on the package by comma-separated list as string, for now the only option is errorCount, file, repository

Responses

get package by uuid

Schema
    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
  • ]
Loading...