# Function description
for classification settings
# Request
# Request example
GET /materialCategoryNew/all HTTPS
Host: <host>
Content-Type: application/json
# Request Headers
Name | Description | Type | Mandatory |
---|---|---|---|
Authorization | User token information | string | Yes |
# Request Body
none
# Response
# Response Header
No special response header
# Response Body
Successful Response Body :
{
"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
}
]
}
]
}
The response body of the failed request is
{
"code": <errorCode>,
"message": <errorMessage>,
"data": null
}