caio-imperial / caio-imperial/PHOTO-SITE-API

Permanently Delete Files in Trash

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

# Objective
Implement functionality to permanently delete one or multiple files that are in the "trash" state. Once deleted, these files and their metadata should be use soft deleted , making recovery possible.

# Requirements

- Allow deletion of one or multiple files in a single request.
- Validate that the specified files are in the "trash" state before deletion.
- Handle cases where some files cannot be found or are not in the trash state, and provide appropriate feedback.

# Acceptance Criteria

- Users can delete files, only if the files are in the trash.
- Partial success is handled gracefully, with a report of successfully deleted and failed files.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.