-
Notifications
You must be signed in to change notification settings - Fork 6
[1차 스프린트] 메시지 목록 조회 API 명세
Richard JEON edited this page Jul 5, 2022
·
2 revisions
-
GET {host}/api/messages?page={}&size={} HTTP/1.1
-
Accept: application/json
-
Host: localhost:8080
HTTP/1.1 200 OK
{
"messages": [
{
"id": 1, // 줍줍 DB 식별자
"userId": 1, // 줍줍 DB 식별자
"username": "rich",
"userThumbnail": "https://~~~",
"text": "test message",
"postedDate": "2022-07-04T14:56:58.972493",
"modifiedDate": "2022-07-04T14:56:58.972493"
},
{
...
}
]
}