Gets the dataset definition of a design. If the design contains autofill data fields, this API returns an object with the data field names and the type of data they accept.
<Note>To get the dataset definition of a brand template, use the Get brand template dataset API.
</Note>Available data field types include:
- Images (which you can autofill with an image or a video asset)
- Text
- Charts
Use the returned field names and types to build the data payload for the Create a design autofill job API with type: create_from_design.
Path parameters
The design ID.
Response
OK
Example response
{
"dataset": {
"cute_pet_image_of_the_day": {
"type": "image"
},
"cute_pet_witty_pet_says": {
"type": "text"
},
"cute_pet_sales_chart": {
"type": "chart"
}
}
}Changes
Changed in 2 of the 8 revisions of this API.9
- ●
added the new
design_generation_rejectedenum value to thecoderesponse property for the response status403response-property-enum-value-added
- ●
added the new
design_generation_rejectedenum value to thecoderesponse property for the response status404response-property-enum-value-added
- ●
added the new
design_generation_rejectedenum value to thecoderesponse property for the response statusdefaultresponse-property-enum-value-added
- ●
- ●
added the new
domain_restrictedenum value to thecoderesponse property for the response status403response-property-enum-value-added
- ●
added the new
domain_restrictedenum value to thecoderesponse property for the response status404response-property-enum-value-added
- ●
added the new
domain_restrictedenum value to thecoderesponse property for the response statusdefaultresponse-property-enum-value-added
- ●
added the new
user_already_memberenum value to thecoderesponse property for the response status403response-property-enum-value-added
- ●
added the new
user_already_memberenum value to thecoderesponse property for the response status404response-property-enum-value-added
- ●
added the new
user_already_memberenum value to thecoderesponse property for the response statusdefaultresponse-property-enum-value-added
- ●