Request URL
{{adminHost:8181}}/sysSetting/uploadCustomizeStartLogo
Request Method
Field Name |
Sample |
Required |
Type |
Note |
adminKey |
603284317954637824 |
Yes |
string |
This parameter is for backend management access credentials, which can be viewed in LarkXR3.3 backend access management |
timestamp |
8641706679604867 |
Yes |
string |
The timestamp when sending a request, in milliseconds |
signature |
9A02B47AE67664D80A2ED13FC2B1691512613790 |
Yes |
string |
This parameter is a key signature. Sort the adminKey (viewed in LarkXR3.2 backend access management), adminSecret (viewed in LarkXR3.3 backend access management), and current timestamp (long value) in alphabetical order, and then perform SHA-1 summary signature. Please refer to the example of [Obtaining Voucher Signature] |
Request Body Parameters
Field Name |
Sample |
Required |
Type |
Note |
logoFile |
[object Object] |
Yes |
file |
Upload images |
logoType |
index |
Yes |
string |
Overview page logo: index, management backend logo: admin, disc center button: joystickCenterLogo, disc bottom image: joystickLogo, launch page center logo: welcome, VR client upper left corner logo: header, control ball: controllBar |
Success Response Example
{
"code": 1000,
"message": "Success",
"result": "/images/LarkXR_index.png"
}
Parameter Note for Success Response Example
Field Name |
Type |
Note |
code |
string |
None |
message |
string |
None |
result |
string |
Return file address |
Note
The interface passes parameters by creating a form object, for example:
Var param=new FormData()// Create a form object
Param.append (‘logoFile ‘, file)// Add data to the form object through append
Param.append (‘logoType ‘,’ index ‘);