版本:202201
按分组统计元字段定义数量
GET/openapi/2022-01/metafield_definition/group_count
按所属资源分组返回元字段定义的数量。
响应
- 200
200
- application/json
- 数据结构
- 示例
- Result
数据结构
- Array [
- ]
items object[]
owner_resourcestring
示例:
productcountinteger
默认值:
0示例:
3{
"items": [
{
"owner_resource": "product",
"count": 3
}
]
}
{
"items": [
{
"owner_resource": "product",
"count": 3
},
{
"owner_resource": "shop",
"count": 1
}
]
}