# 功能描述
用于素材左侧菜单显示
# 请求
# 请求示例
GET /materialCategoryNew/firstLevel HTTPS
Host: <host>
Content-Type: application/json
# 请求参数_ _
无
# 请求头
名称 | 描述 | 类型 | 必填 |
---|---|---|---|
Authorization | 用户token信息 | string | 是 |
# 请求体
无
# 响应
# 响应头
此接口无特殊响应头。
# 响应体
请求成功的响应体为
{
"code": 0,
"message": "success",
"data": [
{
"id": 1,
"parentType": 9999,
"level": 1,
"displayName": "theme",
"displayNamezhCN": "主题",
"materialLastUpdateTime": "4/22/22 5:14 PM",
"orderScore": 1,
"visibility": 1
},
{
"id": 2,
"parentType": 9999,
"level": 1,
"displayName": "videofx",
"displayNamezhCN": "滤镜",
"materialLastUpdateTime": "8/9/21 10:03 AM",
"orderScore": 2,
"visibility": 1
},
{
"id": 3,
"parentType": 9999,
"level": 1,
"displayName": "captionstyle",
"displayNamezhCN": "字幕",
"materialLastUpdateTime": "7/22/21 1:53 PM",
"orderScore": 3,
"visibility": 1
},
{
"id": 4,
"parentType": 9999,
"level": 1,
"displayName": "animatedsticker",
"displayNamezhCN": "贴纸",
"materialLastUpdateTime": "7/22/21 1:53 PM",
"orderScore": 4,
"visibility": 1
},
{
"id": 5,
"parentType": 9999,
"level": 1,
"displayName": "videotransition",
"displayNamezhCN": "转场",
"materialLastUpdateTime": "7/22/21 1:53 PM",
"orderScore": 5,
"visibility": 1
},
{
"id": 6,
"parentType": 9999,
"level": 1,
"displayName": "font",
"displayNamezhCN": "字体",
"materialLastUpdateTime": "7/22/21 1:53 PM",
"orderScore": 6,
"visibility": 1
},
{
"id": 7,
"parentType": 9999,
"level": 1,
"displayName": "music",
"displayNamezhCN": "音乐",
"materialLastUpdateTime": "7/22/21 1:53 PM",
"orderScore": 7,
"visibility": 1
},
{
"id": 9,
"parentType": 9999,
"level": 1,
"displayName": "particle",
"displayNamezhCN": "粒子",
"materialLastUpdateTime": "7/22/21 1:53 PM",
"orderScore": 8,
"visibility": 1
},
{
"id": 15,
"parentType": 9999,
"level": 1,
"displayName": "组合字幕",
"displayNamezhCN": "组合字幕",
"materialLastUpdateTime": "8/4/21 11:58 AM",
"orderScore": 9,
"visibility": 1
},
{
"id": 19,
"parentType": 9999,
"level": 1,
"displayName": "模板",
"displayNamezhCN": "模板",
"materialLastUpdateTime": "8/4/21 11:59 AM",
"orderScore": 10,
"visibility": 1
},
{
"id": 54,
"parentType": 9999,
"level": 1,
"displayName": "片段动画",
"displayNamezhCN": "片段动画",
"materialLastUpdateTime": "3/1/22 5:38 PM",
"orderScore": 11,
"visibility": 1
},
{
"id": 8,
"parentType": 9999,
"level": 1,
"displayName": "背景图片",
"displayNamezhCN": "背景图片",
"materialLastUpdateTime": "3/1/22 6:13 PM",
"orderScore": 12,
"visibility": 1
},
{
"id": 10,
"parentType": 9999,
"level": 1,
"displayName": "特效",
"displayNamezhCN": "特效",
"materialLastUpdateTime": "3/2/22 11:07 AM",
"orderScore": 13,
"visibility": 1
},
{
"id": 11,
"parentType": 9999,
"level": 1,
"displayName": "字幕动画",
"displayNamezhCN": "字幕动画",
"materialLastUpdateTime": "3/3/22 1:43 PM",
"orderScore": 14,
"visibility": 1
},
{
"id": 12,
"parentType": 9999,
"level": 1,
"displayName": "贴纸动画",
"displayNamezhCN": "贴纸动画",
"materialLastUpdateTime": "3/3/22 1:43 PM",
"orderScore": 15,
"visibility": 1
}
]
}
请求失败的响应体为
{
"code": <errorCode>,
"message": <errorMessage>,
"data": null
}