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
|
* @operation unarchive_card
|
||||||
* @summary Restore a card from the archive
|
* @summary Unarchive card
|
||||||
*
|
*
|
||||||
* @description Restore a card from the archive
|
* @description Unarchive card
|
||||||
* @param {string} boardId the board ID of the card
|
* @param {string} boardId the board ID of the card
|
||||||
* @param {string} listId the list ID of the card
|
* @param {string} listId the list ID of the card
|
||||||
* @param {string} cardId the 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(
|
JsonRoutes.add(
|
||||||
'POST',
|
'POST',
|
||||||
'/api/boards/:boardId/lists/:listId/cards/:cardId/restore',
|
'/api/boards/:boardId/lists/:listId/cards/:cardId/unarchive',
|
||||||
function(req, res) {
|
function(req, res) {
|
||||||
const paramBoardId = req.params.boardId;
|
const paramBoardId = req.params.boardId;
|
||||||
const paramCardId = req.params.cardId;
|
const paramCardId = req.params.cardId;
|
||||||
|
|
|
||||||
|
|
@ -2705,12 +2705,12 @@ paths:
|
||||||
type: string
|
type: string
|
||||||
value:
|
value:
|
||||||
type: object
|
type: object
|
||||||
/api/boards/{board}/lists/{list}/cards/{card}/restore:
|
/api/boards/{board}/lists/{list}/cards/{card}/unarchive:
|
||||||
post:
|
post:
|
||||||
operationId: restore_card
|
operationId: unarchive_card
|
||||||
summary: Restore a card from the archive
|
summary: Unarchive card
|
||||||
description: |
|
description: |
|
||||||
Restore a card from the archive
|
Unarchive card
|
||||||
tags:
|
tags:
|
||||||
- Cards
|
- Cards
|
||||||
consumes:
|
consumes:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue