agency-board
POST /v1/agency/boards/{boardId}/cards/{cardId}/restore
Take a card back out of the archive.
認証
ベアラー トークンとして API キーを送信します。このエンドポイントでは仕様に特定の権限が記載されていないため、キーに必要な最小限の権限を付与し、推測するのではなくレスポンスを確認してください。
このエンドポイントは組織IDを受け付けません。お使いのキーによって所属する組織がすでに特定されており、レスポンスはその組織にスコープされます。
試してみる
アングルブラケット内のすべてをご自身の値に置き換え、キーのプレースホルダーをご利用中のダッシュボードのキーに置き換えてください。
curl -X POST https://api.zinndigital.com/v1/agency/boards/{boardId}/cards/{cardId}/restore \
-H "Authorization: Bearer zdk_live_…"ログインしていますか?ダッシュボード内のAPIコンソールでは、実際の組織IDやお客様ご自身のキーが自動入力され、ライブAPIに対してリクエストが実行されるため、実際のレスポンスを確認することができます。 API コンソールでこのエンドポイントを開く
詳細
⛔ A separate operation rather than `PATCH {"archived_at": null}`, because `archived_at` is a timestamp the server owns: a caller who may write it may also write a date in 2031, and the position reindex that has to happen alongside it would not. The card returns at the END of its column — the position it held was reindexed away when it was archived, and the bottom is where a person looks for something they have just restored.
パラメータ
| 名前 | タイプ | 必須 | これがその内容です |
|---|---|---|---|
boardId (path) | Uuid | はい | Project board ID (UUIDv7). |
cardId (path) | Uuid | はい | Board card ID (UUIDv7). |
返信
| 名前 | タイプ | 必須 | これがその内容です |
|---|---|---|---|
id | Uuid | はい | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
board_id | Uuid | はい | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
column_id | Uuid | はい | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
title | string | はい | — |
body | string | いいえ | — |
visibility | AgencyBoardVisibility | はい | 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 th… |
position | integer | はい | — |
assignee_id | string | いいえ | — |
due_at | string | いいえ | — |
created_by_client | boolean | いいえ | Whether the client raised this card themselves. |
archived_at | string | いいえ | — |
cover_colour | AgencyBoardLabelColour | いいえ | A colour band across the top of the card, or the empty string for none. ⛔ Shares the label palette rather than declaring a second one: two palettes on one screen is how a cover… |
labels | AgencyBoardLabel[] | いいえ | The labels this card wears, in the board's label order. ⛔ Agency-only — the client's projection of a card carries no labels at all, because a label is the agency's private vocab… |
created_at | string | いいえ | — |
updated_at | string | いいえ | — |
このエンドポイントが返すエラー
401 · 403 · 404