CreatePackageLicenseQuery
Creates a query to fetch merged license data (PackageLicense + PackageLicenseOverride) for a package version from all the namespaces in the namespace chain. This is the primary API for the Edit Dependency UI page. The response combines:
- Original licenses/copyrights/notices from PackageLicense (fetched from OSS namespace).
- Any overrides from PackageLicenseOverride (fetched from user namespace).
- Selection states for each item (defaults to selected if not in selection map).
Documentation Index
Fetch the complete documentation index at: https://docs.endorlabs.com/llms.txt
Use this file to discover all available pages before exploring further.
Path Parameters
Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app".
Body
PackageLicenseQuery represents the merged result of PackageLicense + PackageLicenseOverride. This response combines original license data from PackageLicense with any overrides and selection states from PackageLicenseOverride across all namespaces in the namespace chain, providing a complete view for the UI.
Response
A successful response.
PackageLicenseQuery represents the merged result of PackageLicense + PackageLicenseOverride. This response combines original license data from PackageLicense with any overrides and selection states from PackageLicenseOverride across all namespaces in the namespace chain, providing a complete view for the UI.