Skip to main content
GET
/
ocireferences
/
{reference}
Get Reference
curl --request GET \
  --url https://api.example.com/ocireferences/{reference}/
{
  "artifact": "<string>",
  "created_by": "<string>",
  "created_on": "2023-11-07T05:31:56Z",
  "last_modified_by": "<string>",
  "last_modified_on": "2023-11-07T05:31:56Z",
  "tag": "<string>",
  "$schema": "<string>"
}

Response

OK

artifact
string
required

Artifact is the ID (the digest) of the OCIArtifact this OCIReference pointed to.

Example:

"ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad"

created_by
string
required

user who created the record.

created_on
string<date-time>
required

timestamp of when the record was created.

last_modified_by
string
required

user who last modified the record.

last_modified_on
string<date-time>
required

timestamp of when the record was last modified.

tag
string
required

Tag is the full URL-like ID of the OCITag that this OCIReference points to.

Example:

"docker.io/cert-manager/cert-manager:latest"

$schema
string<uri>

A URL to the JSON Schema for this object.

Example:

"https://example.com/schemas/OCIReference.json"