A AuthMS API Wiki API Reference iam.tianv.com →

GET /admin/wallets/{id}/integrity

验证指定钱包的事件哈希链完整性,检测篡改或数据损坏

钱包服务 `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
id path string Yes 钱包ID

Responses

StatusDescriptionSchema
200完整性验证结果dto.DataResponse-domain_WalletIntegrityResult
400请求参数错误gitee_com_linmes_authms_base_dto.SimpleResponse
401未认证或令牌无效gitee_com_linmes_authms_base_dto.SimpleResponse
500服务内部错误gitee_com_linmes_authms_base_dto.SimpleResponse

Referenced Schemas

domain.WalletIntegrityResult

FieldTypeRequiredExampleConstraintsDescription
broken_at integer No
last_hash string No
total integer No
valid boolean No
wallet_id string No

dto.DataResponse-domain_WalletIntegrityResult

FieldTypeRequiredExampleConstraintsDescription
code integer No
data domain.WalletIntegrityResult No
message string No
timestamp string No

gitee_com_linmes_authms_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No