Перейти к основному содержимому

Bulk Archive Cards

POST 

/api/v1/cards/bulk-archive

Archive many cards in a single transaction.

Solves a class of problems that the per-card endpoint cannot:

  • browser parallelism: 1 round-trip instead of N (no socket-pool exhaustion);
  • cascade race: archiving a parent that cascades to a descendant which is also in the input list is a single coherent operation, not a fight between sibling workers seeing the descendant in different states;
  • reporting: one aggregated response with archived, cascaded, skipped instead of N independent failures the caller has to stitch together.

Cards already at status=ARCHIVED, or whose IDs don't resolve, are returned in skipped rather than failing the batch — the user's intent (everything in the input ends up archived) is satisfied either way.

Request

Responses

Successful Response