Packages
List packages
Changed onget/packages
Request
- Base URLhttps://cm.lfx.dev/api/v1
- URLhttps://cm.lfx.dev/api/v1/packages
- AuthHTTP bearer
Query parameters
pageinteger
pageSizeinteger
ecosystemstring
lifecycle'active' | 'stable' | 'declining' | 'abandoned' | 'archived'
busFactor1Onlyboolean
Return only packages with bus factor = 1.
staleOnlyboolean
Return only packages with no release in >= 18 months.
unstewardedOnlyboolean
Return only packages with stewardship = unassigned.
sortBy'name' | 'health' | 'impact' | 'openVulns'
sortDir'asc' | 'desc'
Response
Paginated list of packages.
Example response
{
"packages": [
{
"purl": "pkg:npm/lodash",
"name": "lodash",
"ecosystem": "npm",
"health": {
"score": 18,
"label": "critical"
},
"impact": 71,
"maintainerBusFactor": 1,
"openVulns": {
"high": 1
},
"stewardshipId": "42",
"stewards": [
{
"userId": "abc123",
"username": "jrodriguez",
"displayName": "Jonathan R."
}
]
}
]
}Changes
- breaking
the
//response's property type changed fromintegernulltoobjectfor status - warning
added the new
archivedenum value to the//response property for the response status - info
added the new enum value
archivedto thequeryrequest parameterlifecycle - info
added the required property
///to the response with the status - info
added the required property
///to the response with the status
- breaking
- info
response property
packages/items/stewardslist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200
- info