url 走单条上传(upload_mode 控制同步/异步); 传 urls 数组则走批量异步上传(最多 50 条)。Authorization: Bearer ********************{
"url": "https://example.com/sunflower.jpg",
"asset_type": "Image",
"name": "test-sunflower",
"group_id": 8
}curl --location 'https://moyu.info/v1/assets' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"url": "https://example.com/sunflower.jpg",
"asset_type": "Image",
"name": "test-sunflower",
"group_id": 8
}'{
"code": "success",
"data": {
"id": "string",
"asset_url": "string",
"status": "string",
"batch_id": "string",
"task_id": "string",
"total": 0,
"items": [
{
"source_url": "string",
"status": "string"
}
]
}
}