remote-artifacts:refresh

Re-fetch a public HTTPS JSON Remote Artifact now: like `remote-artifacts:resolve` with --force_refresh always on, so it skips the freshness cache. Exception: while another refresh of the same artifact holds the refresh lock (up to --cache_ttl_seconds) and a cached copy exists, it returns that cached copy (`remote_status` `fresh`) without fetching. Unchanged rendered content and source settings keep the artifact and the node's revision; a change replaces the artifact and bumps the revision. Needs write access.

Reference for flywheel remote-artifacts:refresh.

Command Group

Nodes & Graph Commands

Summary

Re-fetch a public HTTPS JSON Remote Artifact now: like remote-artifacts:resolve with --force_refresh always on, so it skips the freshness cache. Exception: while another refresh of the same artifact holds the refresh lock (up to --cache_ttl_seconds) and a cached copy exists, it returns that cached copy (remote_status fresh) without fetching. Unchanged rendered content and source settings keep the artifact and the node's revision; a change replaces the artifact and bumps the revision. Needs write access.

Effect

DESTRUCTIVE: deletes, overwrites or revokes something

Usage

flywheel remote-artifacts:refresh <FLAGS>

Required flags

FlagValueDefaultChoicesDescription
--node_idstringNode UUID (not a slug) from node_id in hosted:node:list or graph:get. Missing or hidden: 404 where the command loads it.
--remote_artifact_idstringYour stable ID for this remote source on the node (non-blank). Reusing it replaces that artifact when the content or a source setting changed; a new ID adds another.
--titlestringDisplay title of the generated artifact (non-blank). A changed title counts as changed content.
--urlstringPublic HTTPS URL on port 443, without credentials, resolving only to public addresses, that returns a JSON object. Otherwise the fetch fails (remote_status error or stale_error).
--rows_pathstringDot-separated path from the JSON object to the list of rows, e.g. data.items (non-blank). Not a list: the fetch fails.
--row_idstringDot-separated path inside each row to its unique scalar ID, e.g. id (non-blank). Missing or not a scalar: the fetch fails.

Optional flags

FlagValueDefaultChoicesDescription
--cache_ttl_secondsintegerSeconds a fetched copy counts as fresh (positive; omitted: 60). Changing it counts as a changed source setting.
--formatFORMATjson, tsv, csv, tableOutput format for command results.
--envPROFILESelect a CLI profile; unconfigured default requires FLYWHEEL_BASE_URL.
--outPATHWrite output to a file path, or use - for stdout.
--openOpen browser-bound URLs when supported.
--no-retryDisable transient-error retries.
--retry-maxNMaximum transient-error retry attempts.
--waitBlock on async operations until a terminal state is reached.
--wait-timeoutSECONDS600Seconds to wait for --wait before timing out. Defaults to 600.
--allow-selfAllow mutating the currently active credential.
--timeoutSECONDSSet the per-request timeout budget in seconds.
--idempotency-keyKEYReuse an Idempotency-Key so ambiguous write failures can be retried with the same key.
--forceForce safety-gated operations where supported.
--yesConfirm forced compute:release-all --force. Other runtime commands do not read --yes.
--debugPrint structured request debugging with secrets masked.
--verbosePrint verbose progress for long-running operations.
-h, --helpShow this help.

Examples

Force refresh a Remote Artifact.

flywheel remote-artifacts:refresh --node_id n_abc --remote_artifact_id official_leaderboard --title "Official Leaderboard" --url https://example.com/leaderboard.json --rows_path items --row_id github_username

Output

Default format: json.

FieldType
remote_artifactobject