Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for "soft" delete #189

Closed
mfriesen opened this issue Nov 18, 2023 · 1 comment
Closed

Add support for "soft" delete #189

mfriesen opened this issue Nov 18, 2023 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@mfriesen
Copy link
Member

Add the ability to "soft" delete a document / restore document.

API(s)
DELETE /documents/{documentId}?softDelete=true
PUT /documents/{documentId}?restoreDelete=true
GET /documents?showDeleted <-- List Deleted documents

Questions:

  1. I assume the only way to see a "deleted" document is through GET /documents?showDeleted otherwise the document will disappear from all other searches.
@mfriesen mfriesen added the enhancement New feature or request label Nov 18, 2023
@mfriesen mfriesen added this to the v1.13.0 milestone Nov 18, 2023
@reganwolfrom
Copy link
Member

@mfriesen this looks good, but a few comments:

  1. for the restore, I'd recommend this endpoint: PUT /documents/{documentID}/restore
  2. I think showDeleted sounds like it will include deleted in the results such as GET /documents and POST /search. I wonder if for now, the need for a "trash bin" should use GET /documents?deleted=true or GET /documents?status=softDeleted. I like the idea of deleted=true for now, rather than implementing status at the moment.

mfriesen added a commit that referenced this issue Nov 28, 2023
mfriesen added a commit that referenced this issue Jan 22, 2024
New Feature

#182 - Document Retry - documents that fail to process are added to a queue for reprocessing
#192 - Added POST /documents/{documentId}/actions/retry for retrying of failed document actions
#196 - Added OCR support for PDF Portfolio files
#194 - Added support for document content to be a "deep link"
#189 - Added document "soft delete"
#146 - Added insertedDate, completedDate to Document actions
#171 - Added Document Workflows
#179 - Added Cognito group that allows authentication but no authorization
#170 - Added Notification action
#168 - Added SMTP support to /configuration API
#169 - Added /groups API
#201 - Added version of FormKiQ that can be run via Docker

Updates

#166 - AWS Lambda end of support for Custom Runtime based on Amazon Linux 1
#188 - Intelligent document processing with OpenAI, uses Schemas to improve results
#119 - improved performance when removing documents

Bugs Fixes

#172 - Fixed Fulltext action ending up in a bad state
#185 - Fixed GET /documents/{documentId}/url returns full path of document instead of filename
#197 - POST /documents/compress is not available for users with READ ONLY access
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants