deck icon indicating copy to clipboard operation
deck copied to clipboard

(Un)Archive cards programmatically via REST API

Open xyjonas opened this issue 1 year ago • 0 comments

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Is your feature request related to a problem? Please describe. I am planning to create a small script that will fetch some external data and "reset" the state of given cards (e.g. un-archiving it and maybe unchecking all previous checked checkboxes). A lot is already possible with the documented REST API, however, I could not find a way to programmatically archive/unarchive cards.

Describe the solution you'd like I imagine two new urls like:

  • PUT /boards/{boardId}/stacks/{stackId}/cards/{cardId}/archive
  • PUT /boards/{boardId}/stacks/{stackId}/cards/{cardId}/unarchive

to perform the desired action.

xyjonas avatar Jul 22 '24 18:07 xyjonas