Project

General

Profile

Actions

CompressPdf #471

open

Integrate Database Operations for PATCH and DELETE Endpoints

Added by Zahid Hassan over 1 year ago. Updated over 1 year ago.

Status:
Complete
Priority:
High
Assignee:
Category:
feature
Target version:
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 uid and file_index in 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 uid and file_index from the database.
Actions

Also available in: Atom PDF