Actions
CompressPdf #471
openIntegrate Database Operations for PATCH and DELETE Endpoints
Start date:
10/02/2024
Due date:
10/02/2024 (about 18 months late)
% Done:
100%
Estimated time:
8:00 h
Description
Description:¶
We need to integrate the database operations using Prisma for two specific endpoints: a PATCH endpoint for updating file names and a DELETE endpoint for removing records from the database.
Changes Made:¶
PATCH Endpoint:¶
v1/update-filename
-
Integrate the PATCH endpoint to update existing file name based on
uidandfile_indexin the database. - Ensure that only specified data (file name and file path) are updated.
DELETE Endpoint:¶
v1/delete-file
-
Integrate the DELETE endpoint to remove records based on
uidandfile_indexfrom the database.
Actions