Skip to main content

Gets all the Packages related to a specific file based on pagination Pagination is required - this endpoint must use the pagination.validate The API accepts a file metadata UUID. There is an option to get the packages sorted by their error count. root-only query parameter is optional - if true, returns only root level packages, in a sense of the file's dependency tree

Path Parameters
    fileMetadataId string required
Query Parameters
    limit double required
    offset double required
    sort string

    Possible values: [errors]

    root-only boolean
Responses

get packages by file


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