mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 07:20:12 +01:00
change restore to unarchive
This commit is contained in:
parent
d3c237bc66
commit
003a07ebce
2 changed files with 8 additions and 8 deletions
|
|
@ -4481,10 +4481,10 @@ JsonRoutes.add('GET', '/api/boards/:boardId/cards_count', function(
|
|||
);
|
||||
|
||||
/**
|
||||
* @operation restore_card
|
||||
* @summary Restore a card from the archive
|
||||
* @operation unarchive_card
|
||||
* @summary Unarchive card
|
||||
*
|
||||
* @description Restore a card from the archive
|
||||
* @description Unarchive card
|
||||
* @param {string} boardId the board ID of the card
|
||||
* @param {string} listId the list ID of the card
|
||||
* @param {string} cardId the ID of the card
|
||||
|
|
@ -4492,7 +4492,7 @@ JsonRoutes.add('GET', '/api/boards/:boardId/cards_count', function(
|
|||
*/
|
||||
JsonRoutes.add(
|
||||
'POST',
|
||||
'/api/boards/:boardId/lists/:listId/cards/:cardId/restore',
|
||||
'/api/boards/:boardId/lists/:listId/cards/:cardId/unarchive',
|
||||
function(req, res) {
|
||||
const paramBoardId = req.params.boardId;
|
||||
const paramCardId = req.params.cardId;
|
||||
|
|
|
|||
|
|
@ -2705,12 +2705,12 @@ paths:
|
|||
type: string
|
||||
value:
|
||||
type: object
|
||||
/api/boards/{board}/lists/{list}/cards/{card}/restore:
|
||||
/api/boards/{board}/lists/{list}/cards/{card}/unarchive:
|
||||
post:
|
||||
operationId: restore_card
|
||||
summary: Restore a card from the archive
|
||||
operationId: unarchive_card
|
||||
summary: Unarchive card
|
||||
description: |
|
||||
Restore a card from the archive
|
||||
Unarchive card
|
||||
tags:
|
||||
- Cards
|
||||
consumes:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue