From a42915614a4f83175b91e2cae0d6aea854d60b58 Mon Sep 17 00:00:00 2001 From: Mial Lewis Date: Thu, 27 Nov 2025 08:25:59 +0000 Subject: [PATCH] add restore to wekan.yml --- public/api/wekan.yml | 45 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/public/api/wekan.yml b/public/api/wekan.yml index 5982969dc..c06c1c263 100644 --- a/public/api/wekan.yml +++ b/public/api/wekan.yml @@ -2705,6 +2705,51 @@ paths: type: string value: type: object + /api/boards/{board}/lists/{list}/cards/{card}/restore: + post: + operationId: restore_card + summary: Restore a card from the archive + description: | + Restore a card from the archive + tags: + - Cards + consumes: + - multipart/form-data + - application/json + parameters: + - name: board + in: path + description: | + the board ID of the card + type: string + required: true + - name: list + in: path + description: | + the list ID of the card + type: string + required: true + - name: card + in: path + description: | + the ID of the card + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + type: object + properties: + _id: + type: string + archived: + type: boolean /api/boards/{board}/lists/{list}/cards_count: get: operationId: get_list_cards_count