Upgrade M2

555

# Upgrade M2

Path:

/api/m2update

Method: PUT

API Description: This can be used to upgrade the M2 programs. Move the upgrade file to the FTP directory and rename it as update.bin.
avatar

Note: Supported by 1.71.3 or later version only;

Response

Name Type Example Description
m2UpgradeStatus String 0 Indicate if the upgrade is successful. 1: Success. 0: M2 is not connected; 2: The upgrade file does not exist or is invalid.
fileTime String Last modified time of the upgrade file.

Example

{
    "m2UpgradeStatus": "0",
    "fileTime": "2022-09-28 16:27:04"
}