mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 09:59:47 -05:00
#2906 asked how to add and archive lists by script. Lists could be added, edited and deleted through REST, but not archived or restored: the PUT edits only live lists and has no archived field. POST /api/boards/:boardId/lists/:listId/archive and .../unarchive now do what the list menu does, for a user with write access to the board, answering 404 when the list is not in the expected state. docs/API/Lists.md shows both. Thanks to stevekiss and xet7 ! Fixes #2906.