Restore an archived card

Puts an archived card back on its board, in the column and position it was archived from. Restoring a card that isn't archived returns 404.

post/cards/{id}/restore

Request

  • Base URL: https://craaft.io/api/v1
  • URL: https://craaft.io/api/v1/cards/{id}/restore
  • Auth: HTTP bearer

Response

The restored card

idstring uuid required
projectIdstring uuid required
columnstring required
titlestring required
descriptionstring

Full body on GET /cards/{id}, PATCH, create, and /detail. Omitted from GET /projects/{id}/cards and lean SSE card.updated events (position-only moves).

positionnumber required
dueDatestring date-time nullable
assignedUserIdstring uuid nullable
assignedUserNamestring nullable
sizeinteger nullable

Optional integer size estimate; null when unset

priority'low' | 'medium' | 'high' | 'urgent' | 'null' nullable
createdBystring uuid nullable
createdByNamestring nullable
updatedBystring uuid nullable
updatedByNamestring nullable
attachmentCountinteger
checklistDoneinteger

Completed checklist items (denormalized count)

checklistTotalinteger

Total checklist items (denormalized count)

tagsstring[]
followingboolean

Whether the authenticated caller follows this card

createdAtstring date-time required
updatedAtstring date-time required

Changes

No recorded changes to this operation across all 2 revisions of this API.