change restore to unarchive

This commit is contained in:
Mial Lewis 2025-11-27 22:00:43 +00:00
parent d3c237bc66
commit 003a07ebce
2 changed files with 8 additions and 8 deletions

View file

@ -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;

View file

@ -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: