agency-board
POST /v1/agency/boards/{boardId}/cards/{cardId}/move
Move a card to a column and position.
Autentifikacija
Pošaljite API ključ kao bearer token. Ova krajnja točka ne navodi određenu dozvolu u specifikaciji, stoga dajte svom ključu najmanje što mu je potrebno i provjerite odgovor umjesto da pretpostavljate.
Ova krajnja točka ne prihvaća ID organizacije. Vaš ključ već identificira organizaciju kojoj pripada, a odgovor je ograničen na nju.
Isprobajte
Zamijenite sve unutar šiljastih zagrada svojim vlastitim vrijednostima, a rezervirano mjesto za ključ s ključem iz vaše nadzorne ploče.
curl -X POST https://api.zinndigital.com/v1/agency/boards/{boardId}/cards/{cardId}/move \
-H "Authorization: Bearer zdk_live_…" \
-H "Content-Type: application/json" \
-d '{ "column_id": <string>, "position": <integer> }'Prijavljeni ste? API konzola na vašoj nadzornoj ploči automatski unosi stvarni ID vaše organizacije i vaš vlastiti ključ te šalje zahtjev prema aktivnom API-ju kako biste mogli vidjeti stvarni odgovor. Otvori ovu krajnju točku u API konzoli
Pojedinosti
⛔ The card's own `visibility` is untouched. Moving a shared card into an internal column hides it (the AND), and moving it back reveals exactly what it was — the decision about *this card* survives a change to the *pipeline*.
Parametri
| Naziv | Vrsta | Obavezno | Što je to |
|---|---|---|---|
boardId (path) | Uuid | Da | Project board ID (UUIDv7). |
cardId (path) | Uuid | Da | Board card ID (UUIDv7). |
Tijelo zahtjeva
| Naziv | Vrsta | Obavezno | Što je to |
|---|---|---|---|
column_id | string | Da | — |
position | integer | Da | — |
Odgovor
| Naziv | Vrsta | Obavezno | Što je to |
|---|---|---|---|
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 | — |
Pogreške koje ova krajnja točka može vratiti
401 · 403 · 404 · 422