updatePackage


Concise description
  • None
Request URL
  • {{adminHost:8181}}/appli/updatePackage
Request Method
  • post
Header
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
pkgId 100225 Yes string Package ID
version 1.0.0 Yes string Package version number
lastUpdateDate 1711965166593 Yes string The last update time can be obtained by obtaining the updateDate value from the package interface.
Success Response Example
{
  "code": 1000,
  "message": "更新成功",
  "result": {
    "pkgId": "100225",
    "version": "1.0.0",
    "appliPath": "",
    "zipFile": "",
    "exeFileNameList": "",
    "param": "",
    "createDate": "1711965166592",
    "updateDate": "1712112256905"
  }
}
Parameter Note for Success Response Example
Field Name Type Note
code string Response code
message string Response message
result object Response result
pgmId string Project Id
wsId string Workplace Id
initiativeSyncFlag int Active synchronization identifier, 0: Non active synchronization, 1: Active synchronization, 2: Semi active synchronization
pkgId string Package Id
version string Package version number
pkgname string Package name
appliPath string The path to save the application
zipFile string Zip package storage path
exeFilename string Application’s execution file path
exeFilenameList array List of exe applications
param string Command line parameters for application startup
createDate long Creation time
updateDate long Update time
Failure Response Example
{
  "code": 500,
  "message": "exeFileName can not be null or empty"
}
Parameter Note for Failure Response Example
Field Name Type Note
code string None
message string None
Note

admin 2025年4月8日 14:16 收藏文档