board-github

PUT /v1/board-github/links/{linkId}/items/{itemId}/card

Attach a GitHub item to a board card, or detach it.

Dukkan board-github wuraren ƙarshe

Tabbatar da Asali

Aiko da maɓallin API a matsayin bearer token. Wannan ma'anar ba ta bayyana takamaiman izini ba a cikin ƙayyadaddun bayanai, don haka ba wa maɓallin ku mafi ƙarancin abin da yake buƙata kuma ku bincika amsar maimakon yin zato.

Wannan wurin ƙarewa ba ya buƙatar ID na ƙungiya. Maɓallin ku ya riga ya gano ƙungiyar da yake ciki, kuma an iyakance amsa a kanta.

Gwada

May gurbin komai da ke cikin kusurwa da ƙimar ka, kuma may gurbin maballi da maballi daga allon sarrafa ka.

curl -X PUT https://api.zinndigital.com/v1/board-github/links/{linkId}/items/{itemId}/card \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{  }'

An shiga? Na'urar sarrafa API da ke cikin sashin kulawarka tana cika ainihin lambar ƙungiyarka da maɓallinka naka, sannan tana gudanar da buƙatar a kan ainihin API don haka zaka iya ganin amsar gaske. Buɗe wannan tashar a cikin na'urar kula da API

Bayani

The linkage the integration exists for: an agency shows its client *"the work is In Progress"* without giving the client a GitHub seat. `card_id: null` detaches. The card must belong to the same organisation as the connection. RLS already bounds both reads to the caller's tenancy; this bounds them to each other, because a card from another of the same agency's boards is in scope for RLS and is still the wrong card.

Sigogi

SunaNau'iAna buƙataAbin da yake
linkId (path)stringEhThe GitHub Projects connection.
itemId (path)stringEhThe item, by OUR id — not GitHub's node id, which is not a path-safe value.

Jikin buƙata

SunaNau'iAna buƙataAbin da yake
card_idstringA'a

Martani

SunaNau'iAna buƙataAbin da yake
idstringA'a
item_node_idstringA'a
item_typestring<ISSUE, PULL_REQUEST, DRAFT_ISSUE, REDACTED>A'a
content_numberintegerA'a
repositorystringA'a
titlestringA'a
bodystringA'a
urlstringA'a
statestringA'a
is_archivedbooleanA'a
field_valuesobjectA'aKeyed by the field's **node id**, never its name. A project owner renaming a field would otherwise orphan every stored value at once, and the next sync would read it as "every i…
github_updated_atstringA'a
local_updated_atstringA'aWhen WE last changed this item. Set only by a local edit, never by a sync — a sync that stamped it would make every imported item look locally-edited and hand every subsequent c…
card_idstringA'a

Kuskuren da wannan matsaya za ta iya maido wa

401 · 403 · 404 · 422