board-github
POST /v1/board-github/links/{linkId}/sync
Refresh one connection from GitHub now.
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/board-github/links/{linkId}/sync \
-H "Authorization: Bearer zdk_live_…"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
The Temporal sweep does this every five minutes and the webhook does it in seconds; this is the button for somebody who does not want to wait. Both cursors come back. `last_attempted_at` moves for every attempt and `last_synced_at` only on success — so *"last synced 4 minutes ago"* beside *"last attempted 10 seconds ago"* is how a customer sees that we are trying and GitHub is refusing. One timestamp cannot say that.
Parâmetros
| Nome | Tipo | Obrigatório | O que é |
|---|---|---|---|
linkId (path) | string | Sim | The GitHub Projects connection. |
Resposta
| Nome | Tipo | Obrigatório | O que é |
|---|---|---|---|
ok | boolean | Não | A distinct field rather than something inferred from the counts. A project that legitimately has no items and a sync that could not see anything are the same zeros. |
error | string | Não | — |
items_seen | integer | Não | — |
items_created | integer | Não | — |
items_updated | integer | Não | — |
items_archived | integer | Não | — |
fields_seen | integer | Não | — |
conflicts | integer | Não | — |
pushed_back | integer | Não | Fields OUR value won and were therefore re-pushed to GitHub. Keeping a won value only on our side would be a resolution that resolves nothing and reports the same conflict on th… |
pages | integer | Não | — |
last_synced_at | string | Não | — |
last_attempted_at | string | Não | — |
Erros que este endpoint pode retornar
401 · 403 · 404