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

[FEAT]: Implementation of a Backend API to Enable Delete of a Squeeze Record #1291

Open
7 tasks
jayudoye opened this issue Feb 28, 2025 · 0 comments
Open
7 tasks
Assignees
Labels
approved feature In-progress This issue is being worked on

Comments

@jayudoye
Copy link

jayudoye commented Feb 28, 2025

Description

Development of an API endpoint that enables the deletion of a squeeze record

Acceptance Criteria

  • The page should be accessible at /api/v1/squeeze/{id}
  • The endpoint should accept HTTP DELETE requests.
  • The system should remove the selected record from the database

Example Request

DELETE /api/v1/squeeze/{id}

Response [Success]

{  
  "status_code": 200,  
  "message": "Squeeze record deleted successfully"  
}

Response (Error)

{  
  "status_code": 400,  
  "error": "Bad Request"  
}
{  
  "status_code": 401,  
  "error": "Unauthorized"  
}
{  
  "status_code": 404,  
  "error": "Record not found"  
}  

Purpose

This will enable the removal of a selected squeeze record from the existing squeeze records

Requirements

  • Develop a RESTful API endpoint to handle DELETE requests.
  • Remove selected user information from the database.
  • Return appropriate response.
  • Handle errors and return appropriate status codes.

Expected Outcome

This process ensures the permanent removal of a squeeze record from the system. Please note that this action is irreversible, and all associated data will be lost. Use caution when performing deletions.

@github-project-automation github-project-automation bot moved this to Backlogs in Boilerplate-TS Feb 28, 2025
@AdeGneus AdeGneus moved this from Backlogs to Mentors Approved in Boilerplate-TS Feb 28, 2025
@AdeGneus AdeGneus added the In-progress This issue is being worked on label Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved feature In-progress This issue is being worked on
Projects
Status: Mentors Approved
Development

No branches or pull requests

3 participants