素材组 Action
查询素材组列表
ListAssetGroups - 分页查询素材资产组合
AuthorizationBearer <token>
兼容网关 API Key,例如 sk-...。
In: header
Query Parameters
Action*string
Default
"ListAssetGroups"Version*string
Default
"2024-01-01"Header Parameters
X-Date?string
使用 HMAC-SHA256 时必填,格式为 YYYYMMDDTHHMMSSZ。
X-Content-Sha256?string
使用 HMAC-SHA256 时必填,请求体 SHA-256 小写十六进制。
Request Body
application/json
Filter*
PageNumber*integer
Range
1 <= valuePageSize*integer
Range
1 <= value <= 100SortBy?string
Default
"CreateTime"Value in
"CreateTime" | "UpdateTime"SortOrder?string
Default
"Desc"Value in
"Desc" | "Asc"ProjectName?string
资源所属项目名称,大小写敏感。省略时使用 default。
Default
"default"Response Body
application/json
application/json
curl -X POST "https://jieyun.cc/?Action=ListAssetGroups&Version=2024-01-01" \ -H "Content-Type: application/json" \ -d '{ "Filter": { "GroupType": "AIGC", "Name": "产品" }, "PageNumber": 1, "PageSize": 20, "SortBy": "CreateTime", "SortOrder": "Desc", "ProjectName": "default" }'{
"ResponseMetadata": {
"RequestId": "20260721000000000000000000000000",
"Action": "ListAssetGroups",
"Version": "2024-01-01",
"Service": "ark",
"Region": "cn-beijing"
},
"Result": {
"TotalCount": 1,
"Items": [
{
"Id": "group-202607210001-example",
"Name": "产品素材",
"Description": "产品图片和视频素材",
"GroupType": "AIGC",
"ProjectName": "default",
"CreateTime": "2026-07-21T00:00:00Z",
"UpdateTime": "2026-07-21T00:00:00Z"
}
],
"PageNumber": 1,
"PageSize": 20
}
}{
"ResponseMetadata": {
"RequestId": "string",
"Action": "ListAssetGroups",
"Version": "2024-01-01",
"Service": "ark",
"Region": "cn-beijing",
"Error": {
"Code": "string",
"Message": "string"
}
}
}Empty
Empty
Empty
Empty
最后更新于