PackageLicenseQueryService

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).
post/v1/namespaces/{tenant_meta.namespace}/queries/package-license-queries

Request

  • Base URL
    https://api.endorlabs.com
  • URL
    https://api.endorlabs.com/v1/namespaces/{tenant_meta.namespace}/queries/package-license-queries
  • Auth
    none declared

Path parameters

tenant_meta.namespacestring required

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".

Request body

tenant_metaobject
uuidstring

The uuid of the resource.

Response

A successful response.

uuidstring

The uuid of the resource.

Changes

No recorded changes to this operation across all 2 revisions of this API.