跳到主要内容

更新场景

PATCH 

/watch/scenarios/:scenario_id

修改一个场景。只发送要更改的字段;显式的 null 会清除可为空的字段(active_hours → 任何时间,usdt_low_threshold → 关闭,notify_destination_ids → 所有渠道)。更改会立即应用到该场景的所有地址。

更改 action 时:

  • 从 add_on_deposit 改为其他操作会丢弃阈值;改为 add_on_deposit 且未提供阈值时设为 "100";
  • 改为能量类操作会开启 energy_alerts;改为 alert_only 会关闭它,除非你发送 "energy_alerts": true;
  • 未完成的入账会关闭,转入的 USDT 重新从零开始计入阈值,等待中的能量添加会被取消;
  • 当地址在 watch_only 和 with_energy 两个上限之间移动时,必须能容纳全部地址(409 radar_limit_exceeded)。

将 energy_preset 从 custom 改为其他值会丢弃 energy_custom。

请求​

Responses​

成功响应