From 67c8a98f20fd610a27325f855ce53485d97c0fc6 Mon Sep 17 00:00:00 2001 From: Mial Lewis Date: Thu, 27 Nov 2025 00:05:53 +0000 Subject: [PATCH] add route to wekan.yml --- public/api/wekan.yml | 47 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/public/api/wekan.yml b/public/api/wekan.yml index cbb1a23a6..5982969dc 100644 --- a/public/api/wekan.yml +++ b/public/api/wekan.yml @@ -2594,6 +2594,53 @@ paths: properties: _id: type: string + /api/boards/{board}/lists/{list}/cards/{card}/archive: + post: + operationId: archive_card + summary: Archive a card + description: | + Archive a card + 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 + archivedAt: + type: string /api/boards/{board}/lists/{list}/cards/{card}/customFields/{customField}: post: operationId: edit_card_custom_field