board-github

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

Set or clear one field value on a GitHub Project item.

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}/field \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "field_node_id": <string> }'

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

`value: null` **clears** the field, through a different GitHub mutation. Sending an empty string would set the field *to* the empty string, which a date field refuses and a text field renders as a permanent blank chip — a save that looks like it worked. Only TEXT, NUMBER, DATE, SINGLE_SELECT and ITERATION are writable; every other type is either computed by GitHub or set on the underlying issue. The `writable` flag on each field in the connection payload is computed server-side so the UI never keeps its own copy of that list.

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
field_node_idstringEh
valueobjectA'a`null` CLEARS the field, through a different GitHub mutation. An empty string would set the field to the empty string.

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