board-github

POST /v1/board-github/links/{linkId}/sync

Refresh one connection from GitHub now.

Alle board-github-eindpunten

Authenticatie

Stuur een API-sleutel mee als bearer token. Dit eindpunt vermeldt geen specifieke toestemming in de specificatie, dus geef uw sleutel de minimale rechten die nodig zijn en controleer het antwoord in plaats van zomaar wat aan te nemen.

Dit eindpunt vereist geen organisatie-id. Uw sleutel identificeert al de organisatie waartoe deze behoort, en het antwoord is hierop afgestemd.

Probeer het

Vervang alles tussen punthaakjes door uw eigen waarden en de sleutelplaatsvervanger door een sleutel uit uw dashboard.

curl -X POST https://api.zinndigital.com/v1/board-github/links/{linkId}/sync \
  -H "Authorization: Bearer zdk_live_…"

Ingelogd? De API-console in je dashboard vult je echte organisatie-id en je eigen sleutel in, en voert het verzoek uit tegen de live API zodat je de daadwerkelijke respons kunt zien. Open dit eindpunt in de API-console

Details

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.

Parameters

NaamTypeVerplichtWat dit is
linkId (path)stringJaThe GitHub Projects connection.

Reactie

NaamTypeVerplichtWat dit is
okbooleanNeeA 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.
errorstringNee
items_seenintegerNee
items_createdintegerNee
items_updatedintegerNee
items_archivedintegerNee
fields_seenintegerNee
conflictsintegerNee
pushed_backintegerNeeFields 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…
pagesintegerNee
last_synced_atstringNee
last_attempted_atstringNee

Fouten die dit eindpunt kan retourneren

401 · 403 · 404