board-github
POST /v1/board-github/links/{linkId}/sync
Refresh one connection from GitHub now.
Autentizace
Odešlete klíč API jako bearer token. Tento koncový bod ve specifikaci uvádí specifické oprávnění, takže svému klíči udělte to nejmenší možné a místo předpokladů zkontrolujte odpověď.
Tento koncový bod nevyžaduje žádné ID organizace. Váš klíč již identifikuje organizaci, ke které patří, a odpověď je na ni omezena.
Vyzvednout
Nahraďte cokoli v závorkách vlastními hodnotami a zástupný symbol klíče klíčem z vašeho řídicího panelu.
curl -X POST https://api.zinndigital.com/v1/board-github/links/{linkId}/sync \
-H "Authorization: Bearer zdk_live_…"Přihlášeni? Konzole API ve vašem dashboardu automaticky doplní vaše skutečné ID organizace i váš vlastní klíč a odešle požadavek na živé API, abyste viděli reálnou odpověď. Otevřete tento koncový bod v konzoli API
Podrobnosti
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.
Parametry
| Název | Typ | Požadováno | Co to je |
|---|---|---|---|
linkId (path) | string | Ano | The GitHub Projects connection. |
Odpověď
| Název | Typ | Požadováno | Co to je |
|---|---|---|---|
ok | boolean | Ne | 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 | Ne | — |
items_seen | integer | Ne | — |
items_created | integer | Ne | — |
items_updated | integer | Ne | — |
items_archived | integer | Ne | — |
fields_seen | integer | Ne | — |
conflicts | integer | Ne | — |
pushed_back | integer | Ne | 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 | Ne | — |
last_synced_at | string | Ne | — |
last_attempted_at | string | Ne | — |
Chyby, které může tento koncový bod vrátit
401 · 403 · 404