系统升级

获取升级进度

获取当前升级任务的进度信息

get/upgrade/progress

Request

  • Base URL: https://localhost:58091/api/v1
  • URL: https://localhost:58091/api/v1/upgrade/progress
  • Auth: API key in header Authorization

Response

成功返回升级进度

current_stepstring

当前步骤描述

errorstring

错误信息(如有)

progressinteger

进度百分比 (0-100)

status'idle' | 'downloading' | 'testing' | 'replacing' | 'restarting' | 'completed' | 'failed'

状态

Example response

{
  "current_step": "正在下载新版本...",
  "error": "下载失败",
  "progress": 50,
  "status": "downloading"
}

Changes

No recorded changes to this operation across all 166 revisions of this API.