# Function Description
Add template material
# Request
# Request example
GET /material/add HTTPS
Host: <host>
Content-Type: application/json
Authorization: <AuthString>
# Request Parameters
| Name | Description | Type | Required |
|---|---|---|---|
| uuid | uuid of the material | string | yes |
| displayName | English name of the material | string | yes |
| displayNameZhCN | Chinese name of the material | string | Yes |
| packageUrl | link to the asset package | string | yes |
| materialType | type of material | string | yes |
| supportedAspectRatio | The supported resolution of the material | int | yes |
| sizeLevel | The frame size of the material | int | yes |
| coverUrl | Material cover link | string | No |
| demoUrl | Material effect demo video link | string | No |
| tags | English tags of the material | string | No |
| tagsZhCN | Chinese tags of the material | string | No |
| version | version of the material | int | no |
| demoDuration | duration of the clip | long | no |
| isPublic | Whether the material is public | int | No |
# Request Headers
| Name | Description | Type | Mandatory |
|---|---|---|---|
| Authorization | User token information | string | true |
# Request Body
none
# Response
# Response Header
No special response header
# Response Body
{
"code": 0,
"enMsg": "success",
"msg": "成功"
}
Failure response body:
{
"code": -1,
"enMsg": "failed",
"msg": "失败"
}