Stewardship

Batch stewardship state for a list of purls

Changed on

Returns lean stewardship state for up to 100 purls in one request. Purls not found in CDP return null.

post/packages:batch-stewardship

Request

  • Base URL
    https://cm.lfx.dev/api/v1
  • URL
    https://cm.lfx.dev/api/v1/packages:batch-stewardship
  • Auth
    HTTP bearer

Request body

purlsstring[] required

Example request

{
  "purls": [
    "pkg:npm/lodash",
    "pkg:npm/express",
    "pkg:pypi/requests"
  ]
}

Response

Stewardship state keyed by purl. Unknown or invalid purls return null.

packagesobject required

Changes

    • warning

      added the new archived enum value to the ////// response property for the response status

    • warning

      removed the optional property ///////// from the response with the status

    • info

      added the optional property ///////// to the response with the status

    • info

      added the optional property ///////// to the response with the status