agency-board

POST /v1/agency/boards/{boardId}/event-subscriptions

Turn a platform event on for this board.

Gbogbo àwọn agency-board endpoints

Ìfàṣẹ́pọ̀

Fi bọ́kì kọ́kọ́ (bearer token) ránṣẹ́ gẹ́gẹ́ bí àmì ìdánimọ̀ API. Ibùdó yìí kò sọ àṣẹ pàtó kan nínú àlàyé rẹ̀, nítorí náà fún kọ́kọ́ rẹ̀ ní ohun tó kéré jù lọ tí ó nílò kí o sì ṣàyẹ̀wò ìdáhùn náà dípò kí o kàn rò ó.

Ojú abánisọ̀rọ̀ yìí kò gba id ajọ kankan. Kọ́kọ́rọ́ rẹ ti mọ ajọ ti o jẹ ti e, a o si fèsì nipa rẹ̀.

Gbiyanju rẹ

Rọ́pọ̀ èyíkéyìí nínú àwọn àmì ìtọ́ka < > pẹ̀lú iye tirẹ̀, àti àmì ìdánimọ̀ bọ́tìnnì náà pẹ̀lú bọ́tìnnì kan láti inú dásibọ̀ọ̀dù rẹ.

curl -X POST https://api.zinndigital.com/v1/agency/boards/{boardId}/event-subscriptions \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "event_type": <string>, "column_id": <Uuid> }'

Ṣé o ti wọlé? Iwọ̀n api ní nú ìgbékalẹ̀ rẹ kún id àjọ gidi rẹ ati bọtini tirẹ, o si nṣiṣẹ ibeere na lòdì si api gidi ki o le rii esi gidi na. Ṣí ojú abáná yìí sílẹ̀ nínú kọnsólù API

Àwọn kúlẹ̀kúlẹ̀

Opt-in, per board, off by default — nothing appears on a board nobody chose. One subscription per event type per board; posting the same event type again updates it. Cards land `internal` unless you say otherwise: a platform event names our own infrastructure and sometimes our own failures, and putting one in front of the agency's client should be a choice rather than a default.

Àwọn ìpìlẹ̀

OrúkọIruTí a nílòKini o jẹ
boardId (path)UuidBẹẹniProject board ID (UUIDv7).

Akoonu ibeere naa

OrúkọIruTí a nílòKini o jẹ
event_typestringBẹẹni
column_idUuidBẹẹniUUIDv7 identifier — sortable by creation time (docs/02 §8).
label_idUuidBẹẹkọUUIDv7 identifier — sortable by creation time (docs/02 §8).
card_visibilitystring<internal, client>Bẹẹkọ
enabledbooleanBẹẹkọ

Idahun

OrúkọIruTí a nílòKini o jẹ
idUuidBẹẹniUUIDv7 identifier — sortable by creation time (docs/02 §8).
board_idUuidBẹẹniUUIDv7 identifier — sortable by creation time (docs/02 §8).
event_typestringBẹẹni
column_idUuidBẹẹniUUIDv7 identifier — sortable by creation time (docs/02 §8).
label_idUuidBẹẹkọUUIDv7 identifier — sortable by creation time (docs/02 §8).
card_visibilitystring<internal, client>Bẹẹkọ
enabledbooleanBẹẹni
card_countintegerBẹẹkọ
last_card_atstringBẹẹkọ
created_atstringBẹẹkọ

Awọn aṣiṣe ti ibudo ipari yii le da pada

401 · 403 · 404 · 422