agency-board

POST /v1/agency/boards/{boardId}/cards/{cardId}/restore

Take a card back out of the archive.

Wszystkie punkty końcowe agency-board

Uwierzytelnianie

Wyślij klucz API jako token bearer. Ten punkt końcowy nie określa konkretnego uprawnienia w specyfikacji, więc nadaj swojemu kluczowi minimum potrzebnych uprawnień i sprawdź odpowiedź zamiast zakładać.

Ten punkt końcowy nie wymaga identyfikatora organizacji. Twój klucz już identyfikuje organizację, do której należy, a odpowiedź jest do niej ograniczona.

Wypróbuj

Zastąp wszystko w nawiasach ostrych własnymi wartościami, a zastępczy znacznik klucza kluczem ze swojego pulpitu nawigacyjnego.

curl -X POST https://api.zinndigital.com/v1/agency/boards/{boardId}/cards/{cardId}/restore \
  -H "Authorization: Bearer zdk_live_…"

Zalogowany? Konsola API w Twoim panelu uzupełnia rzeczywiste identyfikator organizacji oraz Twój własny klucz i wykonuje żądanie względem aktywnego API, dzięki czemu możesz zobaczyć rzeczywistą odpowiedź. Otwórz ten punkt końcowy w konsoli API

Szczegóły

⛔ 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.

Parametry

NazwaTypWymaganeCo to jest
boardId (path)UuidTakProject board ID (UUIDv7).
cardId (path)UuidTakBoard card ID (UUIDv7).

Odpowiedź

NazwaTypWymaganeCo to jest
idUuidTakUUIDv7 identifier — sortable by creation time (docs/02 §8).
board_idUuidTakUUIDv7 identifier — sortable by creation time (docs/02 §8).
column_idUuidTakUUIDv7 identifier — sortable by creation time (docs/02 §8).
titlestringTak
bodystringNie
visibilityAgencyBoardVisibilityTakWho 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…
positionintegerTak
assignee_idstringNie
due_atstringNie
created_by_clientbooleanNieWhether the client raised this card themselves.
archived_atstringNie
cover_colourAgencyBoardLabelColourNieA 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…
labelsAgencyBoardLabel[]NieThe 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_atstringNie
updated_atstringNie

Błędy, które ten punkt końcowy może zwrócić

401 · 403 · 404