board-github
POST /v1/board-github/links/{linkId}/sync
Refresh one connection from GitHub now.
Pagpapatotoo
Magpadala ng API key bilang bearer token. Ang endpoint na ito ay hindi naglatag ng tiyak na pahintulot sa pagtutukoy, kaya ibigay sa iyong key ang pinakamababang kailangan nito at suriin ang tugon sa halip na umasa.
Ang endpoint na ito ay hindi nangangailangan ng id ng organisasyon. Natutukoy na ng iyong key ang organisasyong kinabibilangan nito, at nakatuon ang tugon dito.
Subukan ito
Palitan ang anuman sa loob ng mga panaklong na may anggulo ng iyong sariling mga halaga, at ang placeholder ng key na may key mula sa iyong dashboard.
curl -X POST https://api.zinndigital.com/v1/board-github/links/{linkId}/sync \
-H "Authorization: Bearer zdk_live_…"Nakalagda? Ang API console sa iyong dashboard ay awtomatikong naglalagay ng iyong tunay na ID ng organisasyon at sariling susi, at pinapatakbo ang kahilingan laban sa live na API upang makita mo ang aktwal na tugon. Buksan ang endpoint na ito sa console ng API
Mga Detalye
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.
Mga Parameter
| Pangalan | Uri | Kailangan | Ano ito |
|---|---|---|---|
linkId (path) | string | Oo | The GitHub Projects connection. |
Tugon
| Pangalan | Uri | Kailangan | Ano ito |
|---|---|---|---|
ok | boolean | Hindi | 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 | Hindi | — |
items_seen | integer | Hindi | — |
items_created | integer | Hindi | — |
items_updated | integer | Hindi | — |
items_archived | integer | Hindi | — |
fields_seen | integer | Hindi | — |
conflicts | integer | Hindi | — |
pushed_back | integer | Hindi | 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 | Hindi | — |
last_synced_at | string | Hindi | — |
last_attempted_at | string | Hindi | — |
Mga error na maibabalik ng endpoint na ito
401 · 403 · 404