agency-board

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

Choose whether the client can see this file.

ሁሉም የ agency-board ማጠናቀቂያ ነጥቦች

developer ሰነዶች ሁሉ

ማረጋገጫ

የኤፒአይ ቁልፍ (API key) እንደ ቢረር ቶከን (bearer token) ይላኩ። ይህ የመጨረሻ ነጥብ (endpoint) በመግለጫው ውስጥ የተወሰነ ፈቃድ አልገለጸም፣ ስለዚህ ከማሰብ ይልቅ ለቁልፍዎ የሚያስፈልገውን አነስተኛ ፈቃድ ይስጡት እና ምላሹን ያረጋግጡ።

ይህ ኤንድፖይ መክፈቻ (endpoint) የድርጅት መታወቂያ (organisation id) አይወስድም። የእርስዎ ቁልፍ (key) እሱ የሚመለከተውን ድርጅት አስቀድሞ ይለያል፣ እና ምላሹም ለዚሁ የተወሰነ ነው።

ሞክሩት

በቅንፍ ውስጥ ያለውን ማንኛውንም ነገር በራስዎ እሴቶች ይተኩ፣ እና ቁልፍ ቦታ ያዢውን ከዳሽቦርድዎ በመጣ ቁልፍ ይተኩ።

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> }'

ገብተዋል? የመቆጣጠሪያ ማዕከልዎ ውስጥ ያለው የኤፒአይ ኮንሶል ትክክለኛውን የድርጅት መታወቂያዎን እና የራስዎን ቁልፍ ይሞላል፣ እና ትክክለኛውን ምላሽ ማየት እንዲችሉ ጥያቄውን በቀጥታ ከሚሰራው ኤፒአይ ጋር ያካሂደዋል። ይህን ኤንድፖይንት በAPI ኮንሶል ውስጥ ይክፈቱ

መለኪያዎች

ስምዓይነትየሚያስፈልግምንነቱ
boardId (path)UuidአዎProject board ID (UUIDv7).
cardId (path)UuidአዎBoard card ID (UUIDv7).
attachmentId (path)UuidአዎBoard card attachment ID (UUIDv7).

የጥያቄ አካል

ስምዓይነትየሚያስፈልግምንነቱ
visibilityAgencyBoardVisibilityአዎ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…

ምላሽ

ስምዓይነትየሚያስፈልግምንነቱ
idUuidአዎUUIDv7 identifier — sortable by creation time (docs/02 §8).
card_idUuidአዎUUIDv7 identifier — sortable by creation time (docs/02 §8).
filenamestringአዎ
content_typestringአይ
size_bytesintegerአዎ
visibilityAgencyBoardVisibilityአይ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_stateAgencyBoardAttachmentScanStateአዎWhere 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…
downloadablebooleanአዎ⭐ 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_byAgencyBoardActorአይ
created_atstringአይ

ይህ ማብቂያ ሊመልሳቸው የሚችሉ ስህተቶች

401 · 403 · 404 · 422