v4

latestOpenAPI 3.0.3MIT2026-08-012188139.4 KB
metadata

Retrieve a package metadata entry

Retrieve a specific metadata entry for a package.

get/metadata/packages/{package_slug_perm}/{slug_perm}/

Path parameters

package_slug_permstring required

The slug_perm of the package.

slug_permstring required

The slug_perm of the metadata entry.

Response

The requested metadata entry.

slug_permstring required

The unique slug identifying this metadata entry.

contentobject required

The metadata payload as a JSON object.

content_typestring required

The content type describing the structure of the metadata payload.

classification'UNKNOWN' | 'INTRINSIC' | 'SECURITY' | 'PROVENANCE' | 'SBOM' | 'GENERIC' required
  • UNKNOWN - Unknown
  • INTRINSIC - Intrinsic
  • SECURITY - Security
  • PROVENANCE - Provenance
  • SBOM - SBOM
  • GENERIC - Generic
source_kind'UNKNOWN' | 'SYSTEM' | 'UPSTREAM' | 'CUSTOM' | 'THIRD_PARTY' required
  • UNKNOWN - Unknown
  • SYSTEM - System
  • UPSTREAM - Upstream
  • CUSTOM - Custom
  • THIRD_PARTY - Third Party
source_identitystring required

The identifier for the source that supplied this metadata.

is_canonicalboolean required

Whether this entry is the canonical metadata record for its type.

source_tablestring required

The backing table or source model for this metadata entry.

created_atstring date-time required

When this metadata entry was created.