agency-board

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

Turn a platform event on for this board.

Todos os endpoints de agency-board

Autenticação

Envie uma chave de API como um token bearer. Este endpoint não especifica uma permissão específica na documentação, portanto, conceda à sua chave o mínimo necessário e verifique a resposta em vez de assumir.

Este endpoint não requer um ID de organização. Sua chave já identifica a organização à qual pertence, e a resposta é delimitada a ela.

Experimente

Substitua qualquer item entre colchetes por seus próprios valores e o espaço reservado para a chave por uma chave do seu painel.

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> }'

Conectado? O console da API no seu painel preenche o ID da sua organização real e a sua própria chave, e executa a requisição contra a API de produção para que você possa ver a resposta real. Abra este endpoint no console da API

Detalhes

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.

Parâmetros

NomeTipoObrigatórioO que é
boardId (path)UuidSimProject board ID (UUIDv7).

Corpo da requisição

NomeTipoObrigatórioO que é
event_typestringSim
column_idUuidSimUUIDv7 identifier — sortable by creation time (docs/02 §8).
label_idUuidNãoUUIDv7 identifier — sortable by creation time (docs/02 §8).
card_visibilitystring<internal, client>Não
enabledbooleanNão

Resposta

NomeTipoObrigatórioO que é
idUuidSimUUIDv7 identifier — sortable by creation time (docs/02 §8).
board_idUuidSimUUIDv7 identifier — sortable by creation time (docs/02 §8).
event_typestringSim
column_idUuidSimUUIDv7 identifier — sortable by creation time (docs/02 §8).
label_idUuidNãoUUIDv7 identifier — sortable by creation time (docs/02 §8).
card_visibilitystring<internal, client>Não
enabledbooleanSim
card_countintegerNão
last_card_atstringNão
created_atstringNão

Erros que este endpoint pode retornar

401 · 403 · 404 · 422