docs: 更新 OpenAPI 文档,新增卡状态检查间隔字段
PollingConfig 请求/响应结构中添加 card_status_check_interval 字段说明 Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -2695,6 +2695,11 @@ components:
|
|||||||
card_condition:
|
card_condition:
|
||||||
description: 卡状态条件 (not_real_name:未实名, real_name:已实名, activated:已激活, suspended:已停用)
|
description: 卡状态条件 (not_real_name:未实名, real_name:已实名, activated:已激活, suspended:已停用)
|
||||||
type: string
|
type: string
|
||||||
|
card_status_check_interval:
|
||||||
|
description: 卡状态检查间隔(秒),NULL表示不检查,最小30秒
|
||||||
|
minimum: 30
|
||||||
|
nullable: true
|
||||||
|
type: integer
|
||||||
carddata_check_interval:
|
carddata_check_interval:
|
||||||
description: 流量检查间隔(秒),NULL表示不检查,最小60秒
|
description: 流量检查间隔(秒),NULL表示不检查,最小60秒
|
||||||
minimum: 60
|
minimum: 60
|
||||||
@@ -2724,6 +2729,11 @@ components:
|
|||||||
maximum: 1000
|
maximum: 1000
|
||||||
minimum: 1
|
minimum: 1
|
||||||
type: integer
|
type: integer
|
||||||
|
protect_check_interval:
|
||||||
|
description: 保护期一致性检查间隔(秒),NULL表示不检查,最小30秒
|
||||||
|
minimum: 30
|
||||||
|
nullable: true
|
||||||
|
type: integer
|
||||||
realname_check_interval:
|
realname_check_interval:
|
||||||
description: 实名检查间隔(秒),NULL表示不检查,最小30秒
|
description: 实名检查间隔(秒),NULL表示不检查,最小30秒
|
||||||
minimum: 30
|
minimum: 30
|
||||||
@@ -5499,6 +5509,10 @@ components:
|
|||||||
card_condition:
|
card_condition:
|
||||||
description: 卡状态条件 (not_real_name:未实名, real_name:已实名, activated:已激活, suspended:已停用)
|
description: 卡状态条件 (not_real_name:未实名, real_name:已实名, activated:已激活, suspended:已停用)
|
||||||
type: string
|
type: string
|
||||||
|
card_status_check_interval:
|
||||||
|
description: 卡状态检查间隔(秒),NULL表示不检查
|
||||||
|
nullable: true
|
||||||
|
type: integer
|
||||||
carddata_check_interval:
|
carddata_check_interval:
|
||||||
description: 流量检查间隔(秒),NULL表示不检查
|
description: 流量检查间隔(秒),NULL表示不检查
|
||||||
nullable: true
|
nullable: true
|
||||||
@@ -5528,6 +5542,10 @@ components:
|
|||||||
priority:
|
priority:
|
||||||
description: 优先级(数字越小优先级越高)
|
description: 优先级(数字越小优先级越高)
|
||||||
type: integer
|
type: integer
|
||||||
|
protect_check_interval:
|
||||||
|
description: 保护期一致性检查间隔(秒),NULL表示不检查
|
||||||
|
nullable: true
|
||||||
|
type: integer
|
||||||
realname_check_interval:
|
realname_check_interval:
|
||||||
description: 实名检查间隔(秒),NULL表示不检查
|
description: 实名检查间隔(秒),NULL表示不检查
|
||||||
nullable: true
|
nullable: true
|
||||||
@@ -7286,6 +7304,11 @@ components:
|
|||||||
description: 卡状态条件 (not_real_name:未实名, real_name:已实名, activated:已激活, suspended:已停用)
|
description: 卡状态条件 (not_real_name:未实名, real_name:已实名, activated:已激活, suspended:已停用)
|
||||||
nullable: true
|
nullable: true
|
||||||
type: string
|
type: string
|
||||||
|
card_status_check_interval:
|
||||||
|
description: 卡状态检查间隔(秒),NULL表示不检查,最小30秒
|
||||||
|
minimum: 30
|
||||||
|
nullable: true
|
||||||
|
type: integer
|
||||||
carddata_check_interval:
|
carddata_check_interval:
|
||||||
description: 流量检查间隔(秒),NULL表示不检查,最小60秒
|
description: 流量检查间隔(秒),NULL表示不检查,最小60秒
|
||||||
minimum: 60
|
minimum: 60
|
||||||
@@ -7318,6 +7341,11 @@ components:
|
|||||||
minimum: 1
|
minimum: 1
|
||||||
nullable: true
|
nullable: true
|
||||||
type: integer
|
type: integer
|
||||||
|
protect_check_interval:
|
||||||
|
description: 保护期一致性检查间隔(秒),NULL表示不检查,最小30秒
|
||||||
|
minimum: 30
|
||||||
|
nullable: true
|
||||||
|
type: integer
|
||||||
realname_check_interval:
|
realname_check_interval:
|
||||||
description: 实名检查间隔(秒),NULL表示不检查,最小30秒
|
description: 实名检查间隔(秒),NULL表示不检查,最小30秒
|
||||||
minimum: 30
|
minimum: 30
|
||||||
@@ -9577,7 +9605,7 @@ paths:
|
|||||||
- 资产管理
|
- 资产管理
|
||||||
/api/admin/assets/{identifier}/realtime-status:
|
/api/admin/assets/{identifier}/realtime-status:
|
||||||
get:
|
get:
|
||||||
description: 读取 DB/Redis 中的持久化状态,不调网关。
|
description: 查询资产实时状态。卡类型:读取 DB/Redis 持久化状态;设备类型:实时调用 Gateway sync-info 接口获取最新数据,Gateway 失败不阻断主流程(DeviceRealtime.gateway_msg 返回失败原因)。
|
||||||
parameters:
|
parameters:
|
||||||
- description: 资产标识符(ICCID 或 VirtualNo)
|
- description: 资产标识符(ICCID 或 VirtualNo)
|
||||||
in: path
|
in: path
|
||||||
|
|||||||
Reference in New Issue
Block a user