Examines source code, license files, and package metadata to determine which licenses apply to the component. Returns license data in both individual SPDX license and SPDX expressions when determinable.
Documentation Index
Fetch the complete documentation index at: https://docs.scanoss.com/llms.txt
Use this file to discover all available pages before exploring further.
Package URL identifying the component to analyze.
Version constraint for component resolution when PURL lacks explicit version.
A successful response.
Success example. For error cases, the component block reports the failure via info_message and info_code. Example: {"component":{"purl":"pkg:github/scanoss/unknown-component","requirement":"","version":"","statement":"","licenses":[],"url":"","info_message":"Component version not found","info_code":"VERSION_NOT_FOUND"},"status":{"status":"SUCCESS","message":"Success"}}