Skip to main content
GET
Admin Audit Verify

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

响应

200 - application/json

Successful Response

The result of walking the audit hash chain.

ok is the headline; the rest exists so a failure can be acted on. reason is prose for a human, broken_at and missing are what to go and look at.

ok
boolean
必填
chain_version
integer
必填
checked
integer
必填

Rows whose hash was recomputed and matched

unchained
integer
必填

Rows written before the chain existed; not a fault

first_seq
integer | null
last_seq
integer | null
broken_at
integer | null

First row that failed; the tail after it is also invalid

reason
string
默认值:""
missing
integer[]