Skip to content
Console
Menu

Alerts and status pages

App store purchases

Credits

Knowledge

KV

Notifications

Organizations

Storage

Workflows

API reference

Getting Started

Authentication

KV Store

sylphx artifacts artifact_references

Every sylphx artifacts artifact_references command: its argument, its flags and a run line.

The artifact_references commands of Sylphx Artifacts, as the CLI spells them: the same calls as the artifact_references API page, typed for the shell. Install, sign in and the grammar are on the CLI index.

#update

Updates a holder's retention reference, or creates it with allow_missing. Existing expiry is only extended, never shortened. The exact repository and digest must have an owned Artifact receipt. Success means the registry protection tag has been written and read back; a failed pin attempt commits no reference. Concurrent updates never shorten retention.

NAME — the resource's name; a bare id is enough below the linked project.

CLI

Shell
sylphx artifacts artifact-references update orgs/acme/projects/shop/envs/production/artifact_references/artifact-reference

PATCH https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/artifact_references/artifact-reference · scope artifacts:retain · effect write · Request, response and examples

Flags

FlagTypeWhat it does
--expires-attimestampKeep this image until this instant. Repeating Update only extends it. Required.
--allow-missingboolCreate this reference when absent, after verifying ownership and pinning.

#list

Lists this environment's holder references, including expired references.

PARENT — optional: the CLI fills it from the linked project or the key's scope when it is left out.

CLI

Shell
sylphx artifacts artifact-references list orgs/acme/projects/shop/envs/production

GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/artifact_references · scope artifacts:read · effect read · Request, response and examples

Flags

FlagTypeWhat it does
--page-sizeintMaximum results; defaults to 50 and is capped at 1000.
--page-tokenstringThe next_page_token of the preceding page with the same parameters.
--filterstringA filter on repository, digest or holder_kind, using the List filter grammar.

#get

Gets an exact holder reference, including its current expiry.

NAME — the resource's name; a bare id is enough below the linked project.

CLI

Shell
sylphx artifacts artifact-references get orgs/acme/projects/shop/envs/production/artifact_references/artifact-reference

GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/artifact_references/artifact-reference · scope artifacts:read · effect read · Request, response and examples

#delete

Releases this holder's reference. Other holders keep their protection; registry reconciliation removes a stale tag only after every root expires. Releasing an already absent reference succeeds.

NAME — the resource's name; a bare id is enough below the linked project.

CLI

Shell
sylphx artifacts artifact-references delete orgs/acme/projects/shop/envs/production/artifact_references/artifact-reference --yes

DELETE https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/artifact_references/artifact-reference · scope artifacts:retain · effect destructive · Request, response and examples

Flags

FlagTypeWhat it does
--yesboolDo not ask before this destructive call.