board-github
POST /v1/board-github/links/{linkId}/sync
Refresh one connection from GitHub now.
Autentificare
Trimiteți o cheie API ca token de tip bearer. Acest punct final nu specifică o permisiune anume în specificație, așa că acordați cheii cele mai puține drepturi necesare și verificați răspunsul în loc să faceți presupuneri.
Acest endpoint nu necesită un ID de organizație. Cheia ta identifică deja organizația căreia îi aparține, iar răspunsul este limitat la aceasta.
Încearcă
Înlocuiți tot ce se află între paranteze unghiulare cu propriile valori și substituentul cheie cu o cheie din tabloul de bord.
curl -X POST https://api.zinndigital.com/v1/board-github/links/{linkId}/sync \
-H "Authorization: Bearer zdk_live_…"Autentificat? Consola API din panoul de control îți completează ID-ul real al organizației și propria cheie și rulează cererea în API-ul live, astfel încât să poți vedea răspunsul efectiv. Deschideți acest punct final în consola API
Detalii
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.
Parametri
| Nume | Tip | Obligatoriu | Ce este |
|---|---|---|---|
linkId (path) | string | Da | The GitHub Projects connection. |
Răspuns
| Nume | Tip | Obligatoriu | Ce este |
|---|---|---|---|
ok | boolean | Nu | 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 | Nu | — |
items_seen | integer | Nu | — |
items_created | integer | Nu | — |
items_updated | integer | Nu | — |
items_archived | integer | Nu | — |
fields_seen | integer | Nu | — |
conflicts | integer | Nu | — |
pushed_back | integer | Nu | 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 | Nu | — |
last_synced_at | string | Nu | — |
last_attempted_at | string | Nu | — |
Erori pe care le poate returna acest punct final
401 · 403 · 404