# Function Description
update material info, special for font update after upload to trigger font install in the back end
# Request
# Request example
POST /material/update HTTPS
Host: <host>
Content-Type: application/json
Authorization: <AuthString>
# Request Parameters
Name | Description | Type | Required |
---|---|---|---|
type | the type of the material, eg: 6 for font material | int | Yes |
id | the id of the material, return by sts/info objectId value | int | Yes |
uuid | material uuid, eg: font uuid generated by the front end | string | yes |
packageUrl | link to the asset package | string | yes |
coverUrl | material cover link | string | No |
displayName | display name of the material | string | 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": "失败"
}