v1

latestOpenAPI 3.0.32026-07-22238629559.2 KB
SupplyChain2Service

List lockfiles with dependencies in a given repository

Returns all (or filtered) lockfiles that contain dependencies within the specified repository

post/api/sca/deployments/{deploymentId}/{repositoryId}/lockfiles

Path parameters

deploymentIdstring int64 required

Deployment ID (numeric). Example: 123. Can be found at /deployments, or in your Settings in the web UI.

repositoryIdstring int64 required

Repository ID to filter by. Use Projects endpoints to retrieve repository IDs.

Request body

deploymentIdstring int64

Deployment ID (numeric). Example: 123. Can be found at /deployments, or in your Settings in the web UI.

repositoryIdstring int64

Repository ID to filter by. Use Projects endpoints to retrieve repository IDs.

cursorstring

Use cursor in response to get next page of results.

pageSizeinteger

Number of repositories per page.

Example request

{
  "pageSize": 100
}

Response

OK

hasMoreboolean

True if there are more lockfiles to get.

cursorstring

Pass to next request to get next page of results.