Question
AEM Assets API : Is it possible to migrate in bulk instead of single elements?
I would like to make a POST request to migrate elements in bulk. Can I do it in one API call instead of making multiple post request? Here's how my body looks like:
{
"properties": {
"description": "This is a Category Example",
"title": "Category Example",
"cq:model": "/conf/models/category",
"elements": {
"title": {
"value": "Category-master",
"variations": {
"en": {
"value": "Category English"
},
"es": {
"value": "Category Spanish"
}
}
},
"uri": {
"value": "Category-Uri-master",
"variations": {
"en": {
"value": "Category uri English"
},
"es": {
"value": "Category uri Spanish"
}
}
},
"id": {
"value": "Category-id-master",
"variations": {
"en": {
"value": "Category-id-master"
},
"es": {
"value": "Category-id-master"
}
}
}
}
}
}