Skip to content

Support downloads and attested fields on OAS registry #500

Description

@DropSnorz

Support recently introduced fields on OAS Package/File:

attested boolean Optional. Computed once at import time - true if this file has a GitHub Artifact Attestation linking it to the CI run/commit that built it (checked via the GitHub attestations API using this file's own url/sha256). Omitted rather than storing false when not attested - most developers won't have this configured yet.
downloads number Optional. Total download count for this exact file, sourced from the GitHub Releases API. Recomputed on every registry build (unlike attested, this changes continuously); omitted when zero or not yet fetched.

Reference: open-audio-stack/open-audio-stack-registry#594

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    OASOAS Specification support item

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions