A third-party platform calls this interface to push the latest version's upgrade information to the device; the interface returns the operation status synchronously. Note: the latest version of the cloud-printing client must be upgraded or installed to use this feature.
Note: This feature is available only after upgrading or installing the latest version of the cloud-printing client (confirm the client version with the official technical team).
Source note: The brief intro reads "可先设备推送最新版本的升级信息" (literally "can first-device push …"). The intended meaning is clearly "可向设备推送最新版本的升级信息" — push the latest version's upgrade information to the device. Translated accordingly; the original phrasing is flagged here.
Interface Information
- Interface URL:
https://www.colorpark.cn/api/printer/confirmUpgrade - Request Method: POST
Request Parameters
| Parameter | Example Value | Data Type | Required | Description |
|---|---|---|---|---|
printer_id |
500001 | string | Yes | The unique ID assigned to the printer; each printer is assigned a different number. |
once |
8305 | string | Yes | A random value used when generating the encrypted signature. |
time |
1646790335 | string | Yes | The timestamp used when generating the encrypted signature. |
sign |
9ce3ce7a3fccaf3d7715bd7e9bb1dc1c | string | Yes | The generated signature. For the generation method, refer to the "Generate Signature" section under "Underlying Methods [Basic Support]". |
Response Result
| Parameter | Data Type | Example Value | Description |
|---|---|---|---|
code |
string | 0 | Result status code: 0 = success, 400 = failure. |
msg |
string | 下载客户端日志成功 | Result description. |
Source note: The example
msgvalue "下载客户端日志成功" (Client log downloaded successfully) is a copy-paste leftover from the device-log document and does not match this interface's semantics. A semantically consistent message for this interface would read like "Upgrade information pushed successfully" (e.g. 推送升级信息成功). The example is reproduced faithfully but flagged here.
If the device encounters an unsolvable issue during debugging, contact the cloud-printing responsible person for troubleshooting and a resolution. Contact details:
Phone: 137-5177-4454 (same number on WeChat)
Email: info@ColorPark.cn