跳转到主要内容
GET
GET /admin/api/update

授权

gproxy_session
string
cookie
必填

请求头

x-gproxy-admin-scope
string

Administrative scope selected by the caller.

响应

Success

What the scheduled check has found so far, and whether there is a schedule.

automatic
boolean
必填

Whether this instance installs what it finds without being asked. Off unless an operator turned it on, and reported either way so a console can say which.

channel
string
必填
interval_secs
integer<uint64> | null
必填

Seconds between checks, or None when checking is switched off.

必填范围: x >= 0
last_check
object | null
必填

The last completed check, or None when none has finished yet — a process that started a minute ago, or one whose every check failed.

last_error
string | null
必填

Why the last check failed, when one did and none has since succeeded. A console shows this rather than an empty panel that looks like "no update available".

source
string
必填
verify_signature
boolean
必填