Skip to contents

Retrieves the core artwork record containing title, name, collection assignment, and timestamps. This is the primary artwork identifier used for routing and display.

Use this when you need basic artwork info without performance metrics or image metadata. For full artwork data, use get_appdata().

Usage

get_artwork_index(artist, artwork, cn = NULL)

Arguments

artist

Character. Artist UUID (format: "746bxxxx-xxxx-xxxx-xxxxxxxxxxxx"). Validated with artcore::validate_uuid() where applicable.

artwork

Character. Artwork UUID (format: "99xxxxxx-xxxx-xxxx-xxxxxxxxxxxx"). Validated with artcore::validate_uuid() where applicable.

cn

Database connection. If NULL, creates a connection via artcore::dbc() and closes it on exit. Pass an existing connection to batch multiple queries efficiently.

Value

List with fields: art_uuid, art_name, art_title, collection_uuid, is_nft, created_utc, modified_utc