Assets
Copy one asset n times, through api.clone_assets, and report the numbers it minted.
Copy one asset n times, through api.clone_assets, and report the numbers it minted.
Exists as a named single-asset function because the offline applier can only call one and cannot carry a uuid[] in a payload. The copies’ numbers are decided when it applies, never on the device: the search that finds a free number has to run across the whole organisation.
site_id and location_id are where the copies go when the asset, or something under it, stands at a site or location that has been switched off. They are passed to clone_assets, which puts them on those copies only; every other copy stays where its source stands.

