fossa_bulk_assign_package_label
Assign one package label to many packages in a single API call. Targets exact locators, with optional apply-to-all-versions behavior.
Instructions
Assign one package label to many packages in a single call.
WRITES TO FOSSA. Requires FOSSA_ALLOW_WRITES=true.
Additive, and every target is named: this endpoint has no "all packages
matching a filter" mode, so the label reaches exactly the locators listed.
Each locator must include its version, as in npm+lodash$4.17.21. With
apply_to_all_versions=true the version part is ignored and the label is
assigned to every version of each named package instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | Yes | ||
| label_id | Yes | ||
| scope_id | No | ||
| package_locators | Yes | ||
| apply_to_all_versions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||