Authorization: Bearer ********************{
"Name": "示例图片",
"GroupId": "ag-xxxx",
"ProjectName": "default",
"Url": "https://example.com/image.jpg",
"Type": "image"
}curl --location '/api/ark/v1/?Action=CreateAsset&Version=2024-01-01' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"Name": "示例图片",
"GroupId": "ag-xxxx",
"ProjectName": "default",
"Url": "https://example.com/image.jpg",
"Type": "image"
}'{
"ResponseMetadata": {
"RequestId": "string",
"Action": "string",
"Version": "string",
"Error": {
"Code": "string",
"Message": "string"
}
},
"Result": {}
}