The primary data aggregation function for artwork detail pages. Fetches everything needed to render a complete artwork view: artist context, artwork details, performance stats, benchmarks, paths, and configuration.
This function is optimized for the "one artwork, full detail" use case. It batches database queries and reuses the connection across all fetches. For gallery grids or lists, use the individual query functions instead.
Return Structure
- artist
Artist context: info, stats, URLs, artworks, collections, benchmarks
- artwork
Artwork details: profile, styles, stats, benchmarks, verification, meta, frames
- paths
CDN paths: frames, graphs, signature, diffs
- config
Asset counts: n_frames, n_variants, n_carousel
- certificate
Certificate of authenticity data (if issued)
- collection
Parent collection UUID
Examples
if (FALSE) { # \dontrun{
appdata <- getAppdata(artist, artwork)
# Artist context for header
appdata$artist$info$artist_name
appdata$artist$stats$tot_hours
appdata$artist$thumb
# Artwork performance
appdata$artwork$stats$brush_strokes
appdata$artwork$benchmarks$time_effort$score
# Replay player setup
appdata$paths$frames # Frame URL prefix
appdata$config$n_frames
} # }