apicheats.dev Cheat sheet Raw .md
POST

Try POST /orgs/{org}/artifacts/metadata/storage-record — GitHub API

GitHub playground

Create artifact metadata storage record

Credentials

Kept in this tab only. Requests go through apicheats.dev's same-origin proxy straight to api.github.com; the proxy stores and logs nothing about them.

Headers

Path

Body application/json

10 body fields
  • name · required · string — The name of the artifact.
  • digest · required · string — The digest of the artifact (algorithm:hex-encoded-digest).
  • version · optional · string — The artifact version.
  • artifact_url · optional · string — The URL where the artifact is stored.
  • path · optional · string — The path of the artifact.
  • registry_url · required · string — The base URL of the artifact registry.
  • repository · optional · string — The repository name within the registry.
  • status · optional · string — The status of the artifact (e.g., active, inactive).
  • github_repository · optional · string — The name of the GitHub repository associated with the artifact. This should be used when there are no provenance attestations available for the artifact. The repository must belong to the organization specified in the path parameter. If a provenance attestation is available for the artifact, the API will use the repository information from the attestation instead of this parameter.
  • return_records · optional · boolean — If true, the endpoint will return the created record in the response body.