board-github
POST /v1/board-github/links/{linkId}/sync
Refresh one connection from GitHub now.
Автентифікація
Надішліть ключ API як маркер носія (bearer token). Ця кінцева точка не вказує конкретного дозволу в специфікації, тому надайте своєму ключу мінімально необхідні права та перевірте відповідь, замість того щоб припускати.
Цей кінцевий пункт не потребує ідентифікатора організації. Ваш ключ уже ідентифікує організацію, якій він належить, і відповідь обмежується її межами.
Спробувати
Замініть усе в кутових дужках власними значеннями, а заповнювач ключа — ключем із вашої панелі керування.
curl -X POST https://api.zinndigital.com/v1/board-github/links/{linkId}/sync \
-H "Authorization: Bearer zdk_live_…"Увійшли в систему? Консоль API у вашій панелі керування автоматично підставляє ваш реальний ідентифікатор організації та ваш власний ключ, а також виконує запит до робочого API, щоб ви могли побачити справжню відповідь. Відкрийте цю кінцеву точку в консолі API
Деталі
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.
Параметри
| Назва | Тип | Обов'язкове | Що це таке |
|---|---|---|---|
linkId (path) | string | Так | The GitHub Projects connection. |
Відповідь
| Назва | Тип | Обов'язкове | Що це таке |
|---|---|---|---|
ok | boolean | Ні | 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 | Ні | — |
items_seen | integer | Ні | — |
items_created | integer | Ні | — |
items_updated | integer | Ні | — |
items_archived | integer | Ні | — |
fields_seen | integer | Ні | — |
conflicts | integer | Ні | — |
pushed_back | integer | Ні | 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 | Ні | — |
last_synced_at | string | Ні | — |
last_attempted_at | string | Ні | — |
Помилки, які може повертати ця кінцева точка
401 · 403 · 404