pub async fn sync_file_variants(
app: &App,
tn_id: TnId,
remote_id_tag: &str,
file_id: &str,
variants: Option<&[&str]>,
auth: bool,
) -> ClResult<SyncResult>Expand description
Sync file variants from a remote instance
§Arguments
app- Application statetn_id- Tenant IDremote_id_tag- Remote instance id_tag to fetch fromfile_id- The file ID to syncvariants- Optional list of specific variants to sync (None = all up to max setting)auth- Whether to use authenticated requests (true for direct-visibility files, false for public)
§Returns
Ok(SyncResult) with details of what was synced