Skip to content

List artifact storage records

GET
/orgs/{org}/artifacts/{subject_digest}/metadata/storage-records

List artifact storage records with a given subject digest for repositories owned by an organization.

Results are filtered by the authenticated user’s permissions; records for repositories the user cannot read are omitted. Fine-grained access tokens require the artifact-metadata:read permission.

API method documentation

org
required
string

The organization name. The name is not case sensitive.

subject_digest
required
string
>= 71 characters <= 71 characters /^sha256:[a-f0-9]{64}$/

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

Example
sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72

Response

Media type application/json
object
total_count

The number of storage records for this digest and organization

integer
storage_records
Array<object>
object
id
integer
name
string
digest
string
artifact_url
string
registry_url
string
repository
string
status
string
created_at
string
updated_at
string
Examples
Example default
{
"storage_records": [
{
"name": "libfoo-1.2.3",
"digest": "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72",
"artifact_url": "https://reg.example.com/artifactory/bar/libfoo-1.2.3",
"registry_url": "https://reg.example.com/artifactory/",
"repository": "bar",
"status": "active",
"created_at": "2023-10-01T12:00:00Z",
"updated_at": "2023-10-01T12:00:00Z"
}
]
}