agency-board

PATCH /v1/agency/boards/{boardId}/automations/{ruleId}

Change a rule, or pause and resume it.

ຈຸດສິ້ນສຸດ agency-board ທັງໝົດ

ການພິສູດຕົວຕົນ

ສົ່ງ API key ເປັນ bearer token. ຈຸດເຊື່ອມຕໍ່ (endpoint) ນີ້ບໍ່ໄດ້ລະບຸສິດອະນຸຍາດສະເພາະໃດໜຶ່ງໃນຂໍ້ກຳນົດ, ດັ່ງນັ້ນຈຶ່ງຄວນໃຫ້ສິດ key ຂອງທ່ານເທົ່າທີ່ຈຳເປັນໜ້ອຍທີ່ສຸດ ແລະ ກວດສອບການຕອບກັບ ໂດຍບໍ່ຄວນທາດເດົາເອົາເອງ.

ຈຸດເຊື່ອມຕໍ່ນີ້ບໍ່ໄດ້ຮັບ ID ອົງກອນ. ລະຫັດຂອງທ່ານໄດ້ລະບຸອົງກອນທີ່ມັນຂຶ້ນກັບແລ້ວ, ແລະ ຄໍາຕອບແມ່ນຖືກຈໍາກັດຂອບເຂດໄວ້ສໍາລັບອົງກອນນັ້ນ.

ລອງໃຊ້ເບິ່ງ

ປ່ຽນແທນທຸກຢ່າງທີ່ຢູ່ໃນວົງເລັບມຸມດ້ວຍຄ່າຂອງທ່ານເອງ, ແລະ ປ່ຽນແທນຕົວແທນບ່ອນວ່າງຄີດ້ວຍຄີຈາກແຜງຄວບຄຸມຂອງທ່ານ.

curl -X PATCH https://api.zinndigital.com/v1/agency/boards/{boardId}/automations/{ruleId} \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "name": <string>, "trigger": <string> }'

ເຂົ້າສູ່ລະບົບແລ້ວບໍ? ໂຄງສົນທະນາ API ໃນໜ້າັດສະຫຼອງຂອງທ່ານຈະຕື່ມຂໍ້ມູນລະຫັດອົງກອນຕົວຈິງ ແລະ ລະຫັດລັບສ່ວນຕົວຂອງທ່ານໂດຍອັດຕະໂນມັດ, ແລະ ປະຕິບັດການຮ້ອງຂໍຜ່ານ API ຕົວຈິງ ເພື່ອໃຫ້ທ່ານສາມາດເຫັນຜົນຕອບຮັບທີ່ແທ້ຈິງໄດ້. ເປີດຈຸດສິ້ນສຸດນີ້ໃນຄອນໂສລ API

ລາຍລະອຽດ

The WHOLE rule is re-validated, not just the changed fields — a change to the trigger alone can invalidate an action that was fine before it. ⛔ `suspended` is not settable. That status means *we* paused the rule after repeated failure and carries a reason the customer has not read; letting it be written would make our decision indistinguishable from theirs. Re-enabling a suspended rule clears its failure count.

ພາຣາມິເຕີ

ຊື່ປະເພດຕ້ອງການສິ່ງທີ່ມັນເປັນ
boardId (path)Uuidແມ່ນແລ້ວProject board ID (UUIDv7).
ruleId (path)Uuidແມ່ນແລ້ວAutomation rule ID (UUIDv7).

ເນື້ອຫາຂອງຄຳຮ້ອງ

ຊື່ປະເພດຕ້ອງການສິ່ງທີ່ມັນເປັນ
namestringແມ່ນແລ້ວ
descriptionstringບໍ່
triggerstringແມ່ນແລ້ວ
trigger_configobjectບໍ່Per-trigger settings, e.g. `hours_before` for "due date approaching".
conditionsBoardAutomationCondition[]ບໍ່ANDed. An empty list means the rule always matches its trigger.
actionsBoardAutomationAction[]ບໍ່
statusstring<enabled, disabled>ບໍ່
positionintegerບໍ່

ຖືກໂຈະ

ຊື່ປະເພດຕ້ອງການສິ່ງທີ່ມັນເປັນ
idUuidແມ່ນແລ້ວUUIDv7 identifier — sortable by creation time (docs/02 §8).
board_idUuidແມ່ນແລ້ວUUIDv7 identifier — sortable by creation time (docs/02 §8).
namestringແມ່ນແລ້ວ
descriptionstringບໍ່
triggerstringແມ່ນແລ້ວ
trigger_configobjectບໍ່
conditionsBoardAutomationCondition[]ບໍ່
actionsBoardAutomationAction[]ບໍ່
statusBoardAutomationStatusແມ່ນແລ້ວ`suspended` means WE paused it after repeated failure and it carries a reason the customer has not read. It is a third state rather than a reuse of `disabled`, because collapsin…
positionintegerບໍ່
run_countintegerບໍ່
fired_countintegerບໍ່
consecutive_failuresintegerບໍ່
suspended_reasonstringບໍ່Why we paused this rule, in authored copy from a closed table — never an exception, a status or a message from our own code. The per-failure detail lives on each run (`action_re…
suspended_atstringບໍ່
last_fired_atstringບໍ່
last_run_atstringບໍ່
next_due_atstringບໍ່Only set for a wall-clock rule. Null for a rule on a live act.
created_atstringບໍ່
updated_atstringບໍ່

ຂໍ້ຜິດພາດທີ່ຈຸດເຊື່ອມຕໍ່ນີ້ສາມາດສົ່ງຄືນໄດ້

401 · 403 · 404 · 422