Skip to main content
PUT
/
ocitags
/
{tag}
Update Tag
curl --request PUT \
  --url https://api.example.com/ocitags/{tag}/
{
  "artifact": "<string>",
  "created_by": "<string>",
  "created_on": "2023-11-07T05:31:56Z",
  "last_modified_by": "<string>",
  "last_modified_on": "2023-11-07T05:31:56Z",
  "repository": "<string>",
  "tag": "<string>",
  "$schema": "<string>"
}

Response

OK

artifact
string
required

Artifact is the ID (the digest) of the OCIArtifact this OCITag currently points 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.

repository
string
required

URL-like ID of the OCIRepository this OCITag is published under.

tag
string
required

Tag is the tag portion of the OCITag.

Example:

"1.0.2"

$schema
string<uri>

A URL to the JSON Schema for this object.

Example:

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