Request
curl 'https://ark.cn-beijing.volcengineapi.com/?Action=ListAssetGroups&Version=2024-01-01' \
-H 'Content-Type: application/json' \
-H 'X-Date: <X-Date>' \
-H 'X-Content-Sha256: <X-Content-Sha256>' \
-H 'Authorization: HMAC-SHA256 Credential=<AK>/<X-Date>/cn-beijing/ark/request, SignedHeaders=content-type;host;x-content-sha256;x-date, Signature=<Signature>' \
-d '{
"Filter": {
"GroupIds": [
"group-20240514212750-b5e9m",
"group-20240514212810-c7n2p"
],
"GroupType": "AIGC"
},
"MaxResults": 1,
"SortBy": "CreateTime",
"SortOrder": "Desc",
"ProjectName": "default"
}
'Response
{
"ResponseMetadata": {
"RequestId": "202405142130002B3C4D5E6F70819203",
"Action": "ListAssetGroups",
"Version": "2024-01-01",
"Service": "ark",
"Region": "cn-beijing"
},
"Result": {
"Items": [
{
"Id": "group-20240514212750-b5e9m",
"Name": "demo-portrait-group",
"Description": "虚拟人像素材组示例",
"GroupType": "AIGC",
"ProjectName": "default",
"CreateTime": "2024-05-14T21:27:50Z",
"UpdateTime": "2024-05-14T21:30:00Z"
}
],
"NextToken": "****bmNyeXB0ZWRfY3Vyc29yIjoiLi4****"
}
}