# Function description

Get all subtypes of material

# Request

# Request example

GET /materialNew/categories HTTPS
Host: <host>
Content-Type: application/json 

# Request Parameters

Name Description Type Mandatory
type Material type
1. theme
2. filter
3. caption
4. sticker
5. transition
6. font
7. music
8. particle
15.compound caption
int Yes

# Request Headers

none

# Request Body

none

# Response

# Response Header

No special response header

# Response Body

Successful Response Body :

{
  "code": 0,
  "message": "success",
  "data": {
    "materialCategories": [
      {
        "id": 21,
        "parentType": 1,
        "level": 2,
        "displayName": "Clip",
        "displayNamezhCN": "段落",
        "materialLastUpdateTime": "21-8-4 下午2:22",
        "orderScore": 1
      }
    ]
  }
}

The response body of the failed request is

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