board-github

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

Refresh one connection from GitHub now.

Све board-github крајње тачке

Сва документација за програмере →

Аутентификација

Пошаљите API кључ као bearer токен. Ова крајња тачка не наводи конкретну дозволу у спецификацији, па свом кључу доделите најмања неопходна овлашћења и проверите одговор уместо да претпостављате.

Ова крајња тачка не прихвата id организације. Ваш кључ већ идентификује организацију којој припада, а одговор је ограничен на њу.

Испробајте

Замените све што је у угластим заградама сопственим вредностима, а чувар места кључа кључем са своје контролне табле.

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

Пријављени сте? API конзола на вашој контролној табли попуњава ваш прави id организације и ваш сопствени кључ, и покреће захтев према живом 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.

Одговор

НазивТипОбавезноШта је ово
okbooleanНе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.
errorstringНе—
items_seenintegerНе—
items_createdintegerНе—
items_updatedintegerНе—
items_archivedintegerНе—
fields_seenintegerНе—
conflictsintegerНе—
pushed_backintegerНе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 the…
pagesintegerНе—
last_synced_atstringНе—
last_attempted_atstringНе—

Грешке које ова крајња тачка може вратити

401 · 403 · 404