Concise description
Request URL
{{adminHost:8181}}/appli/upload
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 |
zipFile |
[object Object] |
Yes |
file |
上传的应用程序包,必须以zip结尾 |
Success Response Example
{
"code": 1000,
"message": "success",
"result": {
"fileSize": "86986668",
"appliPath": "20240131175405491",
"exeFileNameList": [
"runapi-win-3.0.7.exe"
],
"zipFilePath": "E:/larkxr-cloud/admin/appli/20240131175405491/1202310854180077568.zip"
}
}
Parameter Note for Success Response Example
Field Name |
Type |
Note |
code |
string |
None |
message |
string |
None |
result |
object |
None |
fileSize |
string |
fileSize |
appliPath |
string |
Save directory for application packages |
exeFileNameList |
array |
When using local storage and the application is a Windows platform application, return the list of exe file paths in the zip package |
zipFilePath |
string |
The complete path of the zip package |
Note
When using object storage (Minio, OSS, OBS, S3), the return format of the interface is:
{
“code”: 1000,
“message”: “success”,
“result”: {
“fullPath”: “887351768835424256.zip”,
“fileSize”: “1839631”,
“appliPath”: “20210914145907888”,
“zipFilePath”: “887351768835424256.zip”
}
}