Skip to content

Update message API endpoint cleanup

Tomas Vik requested to merge 2352-api-edit-thread-message into develop

Part of #2352 (closed)

The review is best done in commits because the first commit only moves the test cases into separate files and doesn't change any functionality. That greatly reduces the complexity of the review.

Testing strategy

  1. Editing message is possible in UI
  2. Copy the request from the previous point and validate that
    • using another user's access token will result in 403
    • changing the :roomId parameter from /v1/rooms/:roomId/chatMessages/:chatMessageId to a different valid room id results in 404
Edited by Tomas Vik

Merge request reports