agency-board
POST /v1/agency/boards/{boardId}/cards/{cardId}/restore
Take a card back out of the archive.
Autentifikacija
Pošaljite API ključ kao bearer token. Ova krajnja tačka ne navodi specifičnu dozvolu u specifikaciji, zato dodelite svom ključu minimum potrebnih ovlašćenja i proverite odgovor umesto da pretpostavljate.
Ovaj krajnji tačka ne prihvata ID organizacije. Vaš ključ već identifikuje organizaciju kojoj pripada, a odgovor je ograničen na nju.
Isprobajte
Zamenite bilo šta u uglastim zagradama sopstvenim vrednostima, a ključni placeholder sa ključem sa vaše kontrolne table.
curl -X POST https://api.zinndigital.com/v1/agency/boards/{boardId}/cards/{cardId}/restore \
-H "Authorization: Bearer zdk_live_…"Prijavljeni ste? API konzola na vašoj kontrolnoj tabli automatski popunjava ID vaše stvarne organizacije i vaš sopstveni ključ, i izvršava zahtev nad API-jem uživo tako da možete videti stvarni odgovor. Otvorite ovu krajnju tačku u API konzoli
Detalji
⛔ 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.
Parametri
| Naziv | Vrsta | Obavezno | Šta je ovo |
|---|---|---|---|
boardId (path) | Uuid | Da | Project board ID (UUIDv7). |
cardId (path) | Uuid | Da | Board card ID (UUIDv7). |
Odgovor
| Naziv | Vrsta | Obavezno | Šta je ovo |
|---|---|---|---|
id | Uuid | Da | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
board_id | Uuid | Da | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
column_id | Uuid | Da | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
title | string | Da | — |
body | string | Ne | — |
visibility | AgencyBoardVisibility | Da | 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 | Da | — |
assignee_id | string | Ne | — |
due_at | string | Ne | — |
created_by_client | boolean | Ne | Whether the client raised this card themselves. |
archived_at | string | Ne | — |
cover_colour | AgencyBoardLabelColour | Ne | 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[] | Ne | 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 | Ne | — |
updated_at | string | Ne | — |
Greške koje ovaj krajnji tačka može da vrati
401 · 403 · 404