provider orgs GET /orgs/{org}/artifacts/{subject_digest}/metadata/storage-records
@utdk/github /orgs/{org}/artifacts/{subject_digest}/metadata/storage-records
List artifact storage records
List a collection of artifact storage records with a given subject digest that are associated with repositories owned by an organization. The collection of storage records returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `content:read` permission is required.
org path required
The organization name. The name is not case sensitive.
string
subject_digest path required
The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`.
string

Try it

Authentication
Configure credentials for GitHub v3 REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

orgs.listArtifactStorageRecords
GET/orgs/{org}/artifacts/{subject_digest}/metadata/storage-records
List a collection of artifact storage records with a given subject digest that are associated with repositories owned by an organization. The collection of storage records returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `content:read` permission is required.

Parameters

required

The organization name. The name is not case sensitive.

required

The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import github from '@utdk/github';

await github.orgs.listArtifactStorageRecords()