cloudbtl webhooks add --url https://… --events document.landed,extraction.skipped [--secret …]
cloudbtl webhooks ls
cloudbtl webhooks rm <wh_id>
cloudbtl webhooks test <wh_id>
cloudbtl webhooks deliveries <wh_id> [--failed] [--limit 50]
cloudbtl webhooks retry <wh_id> <dlv_id> | --all-failed
목표
서버 API(
/api/webhooks)는 있는데 CLI 표면이 없다.watch를 설정하려면 필요.동작
add는 secret 을 한 번만 출력하고,--save면~/.cloudbtl/config.json에 저장해watch가 서명 검증에 쓴다.retry --all-failed: 자동 재시도가 서버에 없으므로 이 명령을 크론에 걸 수 있게.완료 기준
add→test→deliveries에 ping 이 delivered 로 보인다.