agency-board

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

Choose whether the client can see this file.

כל נקודות הקצה מסוג agency-board

כל תיעוד המפתחים

אימות

שלח מפתח API כטוקן Bearer. נקודת קצה זו אינה מציינת הרשאת ספציפית במפרט, לכן הקצה למפתח שלך את המינימום הנדרש ובדוק את התגובה במקום להניח הנחות.

נקודת קצה זו אינה דורשת מזהה ארגון. המפתח שלך כבר מזהה את הארגון שאליו הוא שייך, והתגובה מוגבלת אליו בלבד.

נסה זאת

החלף כל דבר בסוגריים זוויתיים בערכים משלך, ואת מציין מיקום המפתח במפתח מלוח הבקרה שלך.

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 בלוח הבקרה שלך מזינה את מזהה הארגון האמיתי שלך ואת המפתח שלך, ומריצה את הבקשה מול ה-API הפיזי כך שתוכל לראות את התגובה בפועל. פתח נקודת קצה זו במסוף ה-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