board-github

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

Refresh one connection from GitHub now.

Tous les points de terminaison board-github

Authentification

Envoyez une clé d'API en tant que jeton du porteur (bearer token). Cet endpoint n'indique pas de permission spécifique dans la spécification, attribuez donc à votre clé le minimum requis et vérifiez la réponse plutôt que de faire des suppositions.

Cet endpoint ne prend aucun identifiant d'organisation. Votre clé identifie déjà l'organisation à laquelle elle appartient, et la réponse y est limitée.

Essayer

Remplacez tout ce qui se trouve entre crochets par vos propres valeurs, et le espace réservé à la clé par une clé de votre tableau de bord.

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

Connecté ? La console d'API de votre tableau de bord saisit votre véritable ID d'organisation ainsi que votre propre clé, et exécute la requête sur l'API de production afin que vous puissiez voir la réponse réelle. Ouvrir ce point de terminaison dans la console API

Détails

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.

Paramètres

NomTypeObligatoireQu'est-ce que c'est
linkId (path)stringOuiThe GitHub Projects connection.

Réponse

NomTypeObligatoireQu'est-ce que c'est
okbooleanNonA 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.
errorstringNon
items_seenintegerNon
items_createdintegerNon
items_updatedintegerNon
items_archivedintegerNon
fields_seenintegerNon
conflictsintegerNon
pushed_backintegerNonFields 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…
pagesintegerNon
last_synced_atstringNon
last_attempted_atstringNon

Erreurs que cet point de terminaison peut renvoyer

401 · 403 · 404