curl --request GET \
--url http://localhost:3091/v1/api/reviews/user/{userId} \
--header 'Authorization: Bearer <token>'[
{
"id": 123,
"bookingId": 123,
"reviewerId": 123,
"revieweeId": 123,
"rating": 123,
"comment": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"reviewerPseudo": "<string>",
"reviewerAvatarUrl": "<string>"
}
]Returns all reviews received by a given user
curl --request GET \
--url http://localhost:3091/v1/api/reviews/user/{userId} \
--header 'Authorization: Bearer <token>'[
{
"id": 123,
"bookingId": 123,
"reviewerId": 123,
"revieweeId": 123,
"rating": 123,
"comment": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"reviewerPseudo": "<string>",
"reviewerAvatarUrl": "<string>"
}
]JWT access token from POST /v1/api/auth/login