agency-board

PATCH /v1/agency/boards/{boardId}/cards/{cardId}/attachments/{attachmentId}

Choose whether the client can see this file.

Gbogbo àwọn agency-board endpoints

Gbogbo àwọn ìwé àṣẹ olùgbékalẹ̀ àgbékalẹ̀

Ìfàṣẹ́pọ̀

Fi bọ́kì kọ́kọ́ (bearer token) ránṣẹ́ gẹ́gẹ́ bí àmì ìdánimọ̀ API. Ibùdó yìí kò sọ àṣẹ pàtó kan nínú àlàyé rẹ̀, nítorí náà fún kọ́kọ́ rẹ̀ ní ohun tó kéré jù lọ tí ó nílò kí o sì ṣàyẹ̀wò ìdáhùn náà dípò kí o kàn rò ó.

Ojú abánisọ̀rọ̀ yìí kò gba id ajọ kankan. Kọ́kọ́rọ́ rẹ ti mọ ajọ ti o jẹ ti e, a o si fèsì nipa rẹ̀.

Gbiyanju rẹ

Rọ́pọ̀ èyíkéyìí nínú àwọn àmì ìtọ́ka < > pẹ̀lú iye tirẹ̀, àti àmì ìdánimọ̀ bọ́tìnnì náà pẹ̀lú bọ́tìnnì kan láti inú dásibọ̀ọ̀dù rẹ.

curl -X PATCH https://api.zinndigital.com/v1/agency/boards/{boardId}/cards/{cardId}/attachments/{attachmentId} \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "visibility": <AgencyBoardVisibility> }'

Ṣé o ti wọlé? Iwọ̀n api ní nú ìgbékalẹ̀ rẹ kún id àjọ gidi rẹ ati bọtini tirẹ, o si nṣiṣẹ ibeere na lòdì si api gidi ki o le rii esi gidi na. Ṣí ojú abáná yìí sílẹ̀ nínú kọnsólù API

Àwọn ìpìlẹ̀

OrúkọIruTí a nílòKini o jẹ
boardId (path)UuidBẹẹniProject board ID (UUIDv7).
cardId (path)UuidBẹẹniBoard card ID (UUIDv7).
attachmentId (path)UuidBẹẹniBoard card attachment ID (UUIDv7).

Akoonu ibeere naa

OrúkọIruTí a nílòKini o jẹ
visibilityAgencyBoardVisibilityBẹẹniWho may see this object. internal is always the default. A card reaches the client only when it is client and its column is too — an AND, not inheritance, because that…

Idahun

OrúkọIruTí a nílòKini o jẹ
idUuidBẹẹniUUIDv7 identifier — sortable by creation time (docs/02 §8).
card_idUuidBẹẹniUUIDv7 identifier — sortable by creation time (docs/02 §8).
filenamestringBẹẹni
content_typestringBẹẹkọ
size_bytesintegerBẹẹni
visibilityAgencyBoardVisibilityBẹẹkọWho may see this object. internal is always the default. A card reaches the client only when it is client and its column is too — an AND, not inheritance, because that…
scan_stateAgencyBoardAttachmentScanStateBẹẹniWhere an uploaded file is in the malware pipeline. ⛔ clean is the ONLY state the bytes are ever served in — pending, infected and error all refuse, including to the…
downloadablebooleanBẹẹni⭐ Whether these bytes may be fetched right now. Computed from the scan state by the engine rather than derived by a caller — two copies of "may this leave the building" is how the…
uploaded_byAgencyBoardActorBẹẹkọ
created_atstringBẹẹkọ

Awọn aṣiṣe ti ibudo ipari yii le da pada

401 · 403 · 404 · 422