board-github

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

Refresh one connection from GitHub now.

Все эндпоинты board-github

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

Передайте 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.

Ответ

ИмяТипОбязательноЧто это
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 th…
pagesintegerНет
last_synced_atstringНет
last_attempted_atstringНет

Ошибки, которые может возвращать этот эндпоинт

401 · 403 · 404