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
Create an endpoint that allows authenticated users to update user testimonials, ensuring accurate and up-to-date feedback on the platform.
To allow authenticated users to edit and update testimonials, ensuring they remain relevant well-formatted, and properly moderated.
testimonial_id
Authenticated should be able to update testimonials while ensuring proper authorization, content moderation and record tracking.
PUT:/api/v1/testimonals/{testimonial_id}
/api/v1/testimonials/{testimonials_id}
Authorization
{ "content": "This is an updated testimonials." }
{ "status_code": 200, "mesage": "Your testimonial has been updated successfully.", "data": "user_data" }
Unauthorized Request
{ "status_code": 403, "mesage": "Forbidden. Admin access required." }
Testimonial Not Found
{ "status_code": 404, "mesage": "Testimonial not found." }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
Create an endpoint that allows authenticated users to update user testimonials, ensuring accurate and up-to-date feedback on the platform.
Acceptance Criteria
Purpose
To allow authenticated users to edit and update testimonials, ensuring they remain relevant well-formatted, and properly moderated.
Requirements
testimonial_id
in the database.Expected Outcome
Authenticated should be able to update testimonials while ensuring proper authorization, content moderation and record tracking.
Tasks
PUT:/api/v1/testimonals/{testimonial_id}
to update a testimonial.Example Request
Authorization
Response [Success]
Response [Errors]
Unauthorized Request
Testimonial Not Found
Testing
The text was updated successfully, but these errors were encountered: