Skip to main content
POST
Copy one asset n times, through api.clone_assets, and report the numbers it minted.

Headers

Prefer
enum<string>

Preference

Available options:
params=single-object

Body

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.

p_asset_id
string<uuid>
required
p_copies
integer<integer>
p_include
string<jsonb>
p_name
string<text>
p_number_from
integer<integer>
p_number_prefix
string<text>
p_number_width
integer<integer>

Response

200

OK