Skip to content

Edit a Review #23

@ZakAbdu

Description

@ZakAbdu

Update and return an existing review

  • An authenticated user is required for a successful response
  • Only the owner of the review is authorized to edit
  • Review record is updated in the database after request
  • Review data returned includes the id, userId, restaurantId, rating, comment, reviewImage, createdAt and updatedAt
  • Error response with status 400 is given when body validations for the comment or rating are violated
  • Error response with status 404 is given when a review does not exist with the provided id

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions