Create Variant
POST/api/v2/epds/:epd_id/variants/
Create a variant EPD from an approved/published reference EPD.
The variant inherits the reference EPD's whole document (and its product
name). parameters are the external inputs (ext__ fields, without the
prefix); field_inputs are OVERRIDES of unlocked document fields, keyed
by field id (or the bound document key) — send only what this variant
changes. An override naming a locked field (the spec's or the reference
author's) or no field of the EPD returns 400 listing the keys.
Request
Responses
- 201
- 400
- 403
- 404
Created
Bad Request
Forbidden
Not Found