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