agency-board

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

Change a rule, or pause and resume it.

બધા agency-board એન્ડપૉઇન્ટ્સ

પ્રમાણીકરણ

બિયરર ટૉકન તરીકે API કી મોકલો. આ એન્ડપૉઇન્ટ સ્પેશિફિકેશનમાં કોઈ ચોક્કસ પરવાનગી જણાવતું નથી, તેથી ધારણા બાંધવાને બદલે તમારી કીને તેની જરૂરિયાત મુજબ ન્યૂનતમ પરવાનગી આપો અને રિસ્પોન્સ તપાસો.

આ એન્ડપૉઇન્ટ કોઈ સંસ્થા આઈડી (organisation id) લેતું નથી. તમારી કી (key) પહેલેથી જ તે જે સંસ્થા સાથે સંબંધિત છે તેની ઓળખ કરે છે, અને પ્રતિસાદ (response) તે જ પૂરતો મર્યાદિત છે.

આયમાવો

કોઈપણ કૌંસમાં રહેલી બાબતને તમારા પોતાના મૂલ્યોથી બદલો અને કી પ્લેસહોલ્ડરને તમારા ડેશબોર્ડની કીથી બદલો.

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