<aside>
⇒ "viewShares" 삭제 /{id}삭제 userId 로그인기반POST /board
{
"userId": 1,
"location": "강남",
"img": [1,2,3],
"content": "키야!!",
"tagUserIds": [2,3],
"tags": [1,2],
"bgmId": 8,
"boardType": "basic",
"viewLikes": true,
"commentable": true
}
{
"status": 200,
"message": "OK",
"data": "게시물 추가 완료"
}
</aside>
<aside>
DELETE /board/{id}
{
"status": 200,
"message": "OK",
"data": "게시물 삭제 완료"
}
</aside>
<aside>
⇒ 수정 리스트 10개씩GET /board
GET /board/{offset}
{
"status": 200,
"message": "OK",
"data": [
{
"user": [
{
"id": 1,
"nickname": "test",
"img": "<https://아마존S3/이미지_128x128.webp>",
"isMine": true,
"isStory": true
}
]
"id": 101,
"location": "금천구",
"content": "오늘 날씨 좋네요!",
"viewCount": "10",
"likeCount": "10",
"comment": 10,
"createdAt": "3일 전",
"img": [
"<https://아마존S3/이미지1_512x512.webp>",
"<https://아마존S3/이미지2_512x512.webp>",
"<https://아마존S3/이미지3_512x512.webp>"
]
"tagId": "1,2",
"tags": ["#test1", "#test2"],
"bgm": [
{
"id": 1,
"title": "노래제목1",
"artist": "가수1",
"fileName": "<https://아마존S3/노래1.mp3>"
}
]
"viewLikes": true,
"commentable": true,
"isLike": false,
"isSave": false,
"boardType": ADVERTISEMENT
},
{
"user": [
{
"id": 1,
"nickname": "test",
"img": "<https://아마존S3/이미지_128x128.webp>",
"isMine": true,
"isStory": true
}
]
"id": 102,
"location": "금천구",
"content": "오늘 날씨 좋네요!",
"viewCount": "10",
"likeCount": "10",
"comment": "10",
"createdAt": "3일 전",
"img": [
"<https://아마존S3/이미지1_512x512.webp>",
"<https://아마존S3/이미지2_512x512.webp>",
"<https://아마존S3/이미지3_512x512.webp>"
]
"tagId": "",
"tags": [],
"bgm": []
"viewLikes": true,
"commentable": true,
"isLike": false,
"isSave": true,
"boardType": ADVERTISEMENT
},
]
}
</aside>
<aside>
⇒ 추가GET /board/show/{id}
{
"status": 200,
"message": "OK",
"data":
{
"user": [
{
"id": 1,
"nickname": "test",
"img": "<https://아마존S3/이미지_128x128.webp>",
"isMine": true,
"isStory": true
}
]
"id": 101,
"location": "금천구",
"content": "오늘 날씨 좋네요!",
"viewCount": "10",
"likeCount": "10",
"comment": 10,
"createdAt": "3일 전",
"img": [
"<https://아마존S3/이미지1_512x512.webp>",
"<https://아마존S3/이미지2_512x512.webp>",
"<https://아마존S3/이미지3_512x512.webp>"
]
"tagId": "1,2",
"tags": ["#test1", "#test2"],
"bgm": [
{
"id": 1,
"title": "노래제목1",
"artist": "가수1",
"fileName": "<https://아마존S3/노래1.mp3>"
}
]
"viewLikes": true,
"commentable": true,
"isLike": false,
"isSave": false,
"boardType": ADVERTISEMENT
}
</aside>
<aside>
⇒ 추가GET /board/shorts/show/{id}
{
"status": 200,
"message": "OK",
"data":
{
"user": [
{
"id": 1,
"nickname": "test",
"img": "<https://아마존S3/이미지_128x128.webp>",
"isMine": true,
"isStory": true
}
]
"id": 101,
"location": "금천구",
"content": "오늘 날씨 좋네요!",
"viewCount": "10",
"likeCount": "10",
"comment": 10,
"createdAt": "3일 전",
"img": [
"<https://아마존S3/이미지1_512x512.webp>",
"<https://아마존S3/이미지2_512x512.webp>",
"<https://아마존S3/이미지3_512x512.webp>"
]
"tagId": "1,2",
"tags": ["#test1", "#test2"],
"bgm": [
{
"id": 1,
"title": "노래제목1",
"artist": "가수1",
"fileName": "<https://아마존S3/노래1.mp3>"
}
]
"viewLikes": true,
"commentable": true,
"isLike": false,
"isSave": false,
"boardType": ADVERTISEMENT
}
}
</aside>
<aside>
⇒ 추가 리스트 5개씩GET /board/shorts
GET /board/shorts/{offset}
{
"status": 200,
"message": "OK",
"data": [
{
"user": [
{
"id": 1,
"nickname": "test",
"img": "<https://아마존S3/이미지_128x128.webp>",
"isMine": true,
"isStory": true
}
]
"id": 101,
"location": "금천구",
"content": "오늘 날씨 좋네요!",
"viewCount": "10",
"likeCount": "10",
"comment": 10,
"createdAt": "3일 전",
"img": [
"<https://아마존S3/이미지1_512x512.webp>",
"<https://아마존S3/이미지2_512x512.webp>",
"<https://아마존S3/이미지3_512x512.webp>"
]
"tagId": "1,2",
"tags": ["#test1", "#test2"],
"bgm": [
{
"id": 1,
"title": "노래제목1",
"artist": "가수1",
"fileName": "<https://아마존S3/노래1.mp3>"
}
]
"viewLikes": true,
"commentable": true,
"isLike": false,
"isSave": false,
"boardType": ADVERTISEMENT
},
{
"user": [
{
"id": 1,
"nickname": "test",
"img": "<https://아마존S3/이미지_128x128.webp>",
"isMine": true,
"isStory": true
}
]
"id": 101,
"location": "금천구",
"content": "오늘 날씨 좋네요!",
"viewCount": "10",
"likeCount": "10",
"comment": 10,
"createdAt": "3일 전",
"img": [
"<https://아마존S3/이미지1_512x512.webp>",
"<https://아마존S3/이미지2_512x512.webp>",
"<https://아마존S3/이미지3_512x512.webp>"
]
"tagId": "1,2",
"tags": ["#test1", "#test2"],
"bgm": [
{
"id": 1,
"title": "노래제목1",
"artist": "가수1",
"fileName": "<https://아마존S3/노래1.mp3>"
}
]
"viewLikes": true,
"commentable": true,
"isLike": false,
"isSave": false,
"boardType": ADVERTISEMENT
}
]
}
</aside>
<aside>
⇒ 추가 (userId 로그인 기반으로), offset boardId 기반이겠지?리스트 20개씩GET /board/my/{id}
GET /board/my/{id}/{offset}
{
"status": 200,
"message": "OK",
"data": [
{
"id": 101,
"img": "<https://아마존S3/이미지1_128x128.webp>",
"boardType": BASIC
},
{
"id": 102,
"img": "<https://아마존S3/이미지1_128x128.webp>",
"boardType": BASIC
},
{
"id": 103,
"img": "<https://아마존S3/이미지1_128x128.webp>",
"boardType": BASIC
}
]
}
</aside>
<aside>
⇒ 추가 (userId 로그인 기반으로), offset boardId 기반이겠지?리스트 20개씩GET /board/myShorts/{id}
GET /board/myShorts/{id}/{offset}
{
"status": 200,
"message": "OK",
"data": [
{
"id": 101,
"img": "<https://아마존S3/비디오1_thumbnail.webp>",
"boardType": BASIC
},
{
"id": 102,
"img": "<https://아마존S3/비디오1_thumbnail.webp>",
"boardType": BASIC
},
{
"id": 103,
"img": "<https://아마존S3/비디오1_thumbnail.webp>",
"boardType": BASIC
}
]
}
</aside>
<aside>
⇒ 추가 (userId 로그인 기반으로), offset boardId 기반이겠지?리스트 20개씩GET /board/tag/{id}
GET /board/tag/{id}/{offset}
{
"status": 200,
"message": "OK",
"data": [
{
"id": 101,
"img": "<https://아마존S3/비디오1_thumbnail.webp>",
"boardType": BASIC
},
{
"id": 102,
"img": "<https://아마존S3/비디오1_thumbnail.webp>",
"boardType": BASIC
},
{
"id": 103,
"img": "<https://아마존S3/비디오1_thumbnail.webp>",
"boardType": BASIC
}
]
}
</aside>
<aside>
⇒추가 리스트 30개씩GET /board/search
GET /board/search/{offset}
{
"status": 200,
"message": "OK",
"data": [
{
"id": 101,
"img": "<https://아마존S3/비디오1_thumbnail.webp>",
"boardType": BASIC
},
{
"id": 102,
"img": "<https://아마존S3/비디오1_thumbnail.webp>",
"boardType": BASIC
},
{
"id": 103,
"img": "<https://아마존S3/비디오1_thumbnail.webp>",
"boardType": BASIC
}
]
}
</aside>
<aside>
GET /board/save
GET /board/save/{offset}
{
"status": 200,
"message": "OK",
"data": [
{
"id": 101,
"img": "<https://아마존S3/비디오1_thumbnail.webp>",
"boardType": BASIC
},
{
"id": 102,
"img": "<https://아마존S3/비디오1_thumbnail.webp>",
"boardType": BASIC
},
{
"id": 103,
"img": "<https://아마존S3/비디오1_thumbnail.webp>",
"boardType": BASIC
}
]
}
</aside>
<aside>
GET /story/my
GET /story/my/{offset}
{
"status": 200,
"message": "OK",
"data": [
{
"id": 101,
"img": "<https://아마존S3/비디오1_thumbnail.webp>",
"boardType": BASIC
},
{
"id": 102,
"img": "<https://아마존S3/비디오1_thumbnail.webp>",
"boardType": BASIC
},
{
"id": 103,
"img": "<https://아마존S3/비디오1_thumbnail.webp>",
"boardType": BASIC
}
]
}
</aside>
<aside>
⇒ response수정GET /bgm
{
"status": 200,
"message": "OK",
"data": [
{
"id": 1,
"title": "노래제목1",
"artist": "가수1",
"fileName": "<https://아마존S3/파일이름1.mp3>"
},
{
"id": 2,
"title": "노래제목2",
"artist": "가수2",
"fileName": "<https://아마존S3/파일이름2.mp3>"
},
{
"id": 3,
"title": "노래제목3",
"artist": "가수3",
"fileName": "<https://아마존S3/파일이름3.mp3>"
},
]
}
</aside>
<aside>
</aside>
<aside>
</aside>
<aside>
</aside>
<aside>
</aside>
<aside>
</aside>