view Notification
view notification list
GET
/notification
<Description of the endpoint>
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Response
[
{
"id": 1,
"type": "댓글",
"message": "새로운 댓글이 달렸어요",
"data": {
"board_name": "자유게시판",
"commentContent": "좋은 글이네요!"
},
"createdAt": 2025-03-28 12:00:00,
"isRead": false
},
{
"id": 2,
"type": "쪽지방",
"message": "새로운 쪽지방이 생겼어요",
"data": null,
"createdAt": 2025-03-28 12:05:00,
"isRead": false
}
]
피드백 받은 내용
created_at이나 is_read보다 CamelCase 사용 권장드립니다
"data" = null 보다는 빈배열을 보내는게 일관성 유지하는데에 더 좋을 것 같아요
Last updated