# 功能描述

用于分类设置

# 请求

# 请求示例

GET /materialCategoryNew/all 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,
            "children": [
                {
                    "id": 21,
                    "parentType": 1,
                    "level": 2,
                    "displayName": "Clip",
                    "displayNamezhCN": "段落",
                    "materialLastUpdateTime": "4/24/22 10:37 AM",
                    "orderScore": 1,
                    "visibility": 0
                },
                {
                    "id": 20,
                    "parentType": 1,
                    "level": 2,
                    "displayName": "Track",
                    "displayNamezhCN": "全轨",
                    "materialLastUpdateTime": "8/9/21 10:09 AM",
                    "orderScore": 2,
                    "visibility": 1
                }
            ]
        },
        {
            "id": 2,
            "parentType": 9999,
            "level": 1,
            "displayName": "videofx",
            "displayNamezhCN": "滤镜",
            "materialLastUpdateTime": "8/9/21 10:03 AM",
            "orderScore": 2,
            "visibility": 1,
            "children": [
                {
                    "id": 22,
                    "parentType": 2,
                    "level": 2,
                    "displayName": "普通",
                    "displayNamezhCN": "普通",
                    "materialLastUpdateTime": "8/4/21 11:56 AM",
                    "orderScore": 1,
                    "visibility": 1
                },
                {
                    "id": 34,
                    "parentType": 2,
                    "level": 2,
                    "displayName": "LUT",
                    "displayNamezhCN": "LUT",
                    "materialLastUpdateTime": "3/2/22 11:09 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,
            "children": [
                {
                    "id": 35,
                    "parentType": 3,
                    "level": 2,
                    "displayName": "普通字幕",
                    "displayNamezhCN": "普通字幕",
                    "materialLastUpdateTime": "8/4/21 11:56 AM",
                    "orderScore": 1,
                    "visibility": 1
                },
                {
                    "id": 36,
                    "parentType": 3,
                    "level": 2,
                    "displayName": "动态底图",
                    "displayNamezhCN": "动态底图",
                    "materialLastUpdateTime": "8/4/21 11:56 AM",
                    "orderScore": 2,
                    "visibility": 1
                },
                {
                    "id": 37,
                    "parentType": 3,
                    "level": 2,
                    "displayName": "逐字字幕",
                    "displayNamezhCN": "逐字字幕",
                    "materialLastUpdateTime": "8/4/21 11:56 AM",
                    "orderScore": 3,
                    "visibility": 1
                },
                {
                    "id": 38,
                    "parentType": 3,
                    "level": 2,
                    "displayName": "唱词字幕",
                    "displayNamezhCN": "唱词字幕",
                    "materialLastUpdateTime": "8/4/21 11:56 AM",
                    "orderScore": 4,
                    "visibility": 1
                },
                {
                    "id": 39,
                    "parentType": 3,
                    "level": 2,
                    "displayName": "边框字幕",
                    "displayNamezhCN": "边框字幕",
                    "materialLastUpdateTime": "8/4/21 11:56 AM",
                    "orderScore": 5,
                    "visibility": 1
                },
                {
                    "id": 40,
                    "parentType": 3,
                    "level": 2,
                    "displayName": "自由文字",
                    "displayNamezhCN": "自由文字",
                    "materialLastUpdateTime": "8/4/21 11:56 AM",
                    "orderScore": 6,
                    "visibility": 1
                },
                {
                    "id": 41,
                    "parentType": 3,
                    "level": 2,
                    "displayName": "滚屏字幕",
                    "displayNamezhCN": "滚屏字幕",
                    "materialLastUpdateTime": "8/4/21 11:56 AM",
                    "orderScore": 7,
                    "visibility": 1
                },
                {
                    "id": 64,
                    "parentType": 3,
                    "level": 2,
                    "displayName": "花字",
                    "displayNamezhCN": "花字",
                    "materialLastUpdateTime": "3/3/22 2:55 PM",
                    "orderScore": 8,
                    "visibility": 1
                },
                {
                    "id": 65,
                    "parentType": 3,
                    "level": 2,
                    "displayName": "气泡",
                    "displayNamezhCN": "气泡",
                    "materialLastUpdateTime": "3/3/22 2:56 PM",
                    "orderScore": 9,
                    "visibility": 1
                }
            ]
        },
        {
            "id": 4,
            "parentType": 9999,
            "level": 1,
            "displayName": "animatedsticker",
            "displayNamezhCN": "贴纸",
            "materialLastUpdateTime": "7/22/21 1:53 PM",
            "orderScore": 4,
            "visibility": 1,
            "children": [
                {
                    "id": 42,
                    "parentType": 4,
                    "level": 2,
                    "displayName": "有声贴纸",
                    "displayNamezhCN": "有声贴纸",
                    "materialLastUpdateTime": "8/4/21 11:56 AM",
                    "orderScore": 1,
                    "visibility": 1
                },
                {
                    "id": 43,
                    "parentType": 4,
                    "level": 2,
                    "displayName": "普通贴纸",
                    "displayNamezhCN": "普通贴纸",
                    "materialLastUpdateTime": "8/4/21 11:56 AM",
                    "orderScore": 2,
                    "visibility": 1
                }
            ]
        },
        {
            "id": 5,
            "parentType": 9999,
            "level": 1,
            "displayName": "videotransition",
            "displayNamezhCN": "转场",
            "materialLastUpdateTime": "7/22/21 1:53 PM",
            "orderScore": 5,
            "visibility": 1,
            "children": [
                {
                    "id": 44,
                    "parentType": 5,
                    "level": 2,
                    "displayName": "3D",
                    "displayNamezhCN": "3D",
                    "materialLastUpdateTime": "8/4/21 11:56 AM",
                    "orderScore": 1,
                    "visibility": 1
                },
                {
                    "id": 45,
                    "parentType": 5,
                    "level": 2,
                    "displayName": "2D",
                    "displayNamezhCN": "2D",
                    "materialLastUpdateTime": "8/4/21 11:56 AM",
                    "orderScore": 2,
                    "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,
            "children": [
                {
                    "id": 46,
                    "parentType": 7,
                    "level": 2,
                    "displayName": "字幕音效",
                    "displayNamezhCN": "字幕音效",
                    "materialLastUpdateTime": "8/4/21 11:56 AM",
                    "orderScore": 1,
                    "visibility": 1
                },
                {
                    "id": 47,
                    "parentType": 7,
                    "level": 2,
                    "displayName": "游戏音效",
                    "displayNamezhCN": "游戏音效",
                    "materialLastUpdateTime": "8/4/21 11:56 AM",
                    "orderScore": 2,
                    "visibility": 1
                },
                {
                    "id": 48,
                    "parentType": 7,
                    "level": 2,
                    "displayName": "节目音效",
                    "displayNamezhCN": "节目音效",
                    "materialLastUpdateTime": "8/4/21 11:56 AM",
                    "orderScore": 3,
                    "visibility": 1
                }
            ]
        }
    ]
}

请求失败的响应体为

{
    "code": <errorCode>,
    "message": <errorMessage>,          
    "data": null
}