Skip to main content
POST
/
ocireferences
Create Reference
curl --request POST \
  --url https://api.example.com/ocireferences
{
  "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>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.chkk.io/llms.txt

Use this file to discover all available pages before exploring further.

Response

Created

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>
read-only

A URL to the JSON Schema for this object.

Example:

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