We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This API endpoint allows an authorized user to edit a comment. This endpoint will validate input data and update the comment securely in the database.
/api/v1/comments/edit/{comment_id}
Request Body application/json
application/json
{ "content": "string" }
Success load
{ "message": "Comment successful updated", "data": { "id": "string", "content": "string", "update_at": "datetime" } }
Error load
{ "message": "Unauthorized request", "status_code": 401 }
The purpose of the endpoint is to give authorized users the ability to edit/update their comments.
The endpoint should allow users to edit their comments successfully
The text was updated successfully, but these errors were encountered:
This links to the issue approved here
Sorry, something went wrong.
No branches or pull requests
Description
This API endpoint allows an authorized user to edit a comment. This endpoint will validate input data and update the comment securely in the database.
Acceptance Criteria
/api/v1/comments/edit/{comment_id}
Request Body
application/json
Success load
Error load
Purpose
The purpose of the endpoint is to give authorized users the ability to edit/update their comments.
Requirements
Expected Outcome
The endpoint should allow users to edit their comments successfully
Test
The text was updated successfully, but these errors were encountered: