跳转到主要内容
POST
POST /admin/api/update/check

授权

gproxy_session
string
cookie
必填

请求头

x-gproxy-admin-scope
string

Administrative scope selected by the caller.

查询参数

channel
string | null
source
string | null

响应

Success

One check's answer.

available
boolean
必填

Whether latest is actually newer than current.

channel
string
必填
checked_at_ms
integer<int64>
必填

When this check completed, in milliseconds since the epoch.

current
string
必填

The version this process is running.

latest
string
必填

The version the manifest offers for this channel.

notes
string | null
必填

The notes themselves, when the host could fetch them. Never required: a release with no readable notes is still a release.

notes_url
string | null
必填

Where a human reads what changed. Straight from the manifest.

restart
string
必填

What the host will do to the process after an apply: none, supervisor or re-exec.

rollback_available
boolean
必填

Whether a previous executable is still on disk to go back to.

source
string
必填
target
string
必填

The artifact key the manifest was searched for, e.g. x86_64-unknown-linux-gnu.