Copies then removes every object for the given artist / artwork in:
art-vault (uploads/artist/artwork/... => uploads/artist/_deleted-artwork/...)
art-data (processed/artist/artwork/... => processed/artist/_deleted-artwork/...)
art-coa (issued/artist/artwork/... => issued/artist/_deleted-artwork/...)
art-public (single key move:
thumbnails/artist/artwork.jpeg => thumbnails/artist/_deleted-artwork.jpeg)
Usage
cdn_soft_delete(artist, artwork, dry_run = FALSE)
Arguments
- artist
Character(1). UUID of the artist.
- artwork
Character(1). UUID of the artwork.
- dry_run
Logical(1). If TRUE, only logs planned actions; does not
perform copy or delete. Defaults to FALSE.
Value
Invisibly, a named list of character vectors giving the new keys
for each bucket.
Examples
if (FALSE) { # \dontrun{
cdn_soft_delete(
artist = "80000000-0000-0000-0000-000000000000",
artwork = "90000000-0000-0000-0000-000000000000",
dry_run = TRUE
)
} # }