Description
<게시글 등록>
•
광고/리뷰 게시글 업로드
Request
Content-type: application/json
Shell
복사
{
"drinkId": 1,
"type": "REVIEW",
"content": "이 막걸리는 독특한 맛을 가지고 있어요!",
"rating": 4.5,
"tag": ["고소", "풍미"],
"imageUrl": "http://example.com/image.png"
}
JSON
복사
Response
{
"id": 1,
"memberId": 1,
"memberName": "John",
"drink": {
"id": 1,
"placeName": "서울특별시",
"name": "맛있는 특산주",
"type": "BEER",
"degree": 7.0,
"sweetness": 5,
"cost": 5000,
"averageRating": null,
"description": "초콜릿으로 만든 맥주",
"imageUrl": null,
"createdAt": "2024-09-23T23:36:35"
},
"type": "REVIEW",
"content": "이 막걸리는 독특한 맛을 가지고 있어요!",
"rating": 4.5,
"tags": [
{
"tagId": 1,
"tagName": "고소"
},
{
"tagId": 2,
"tagName": "풍미"
}
],
"imageUrl": "http://example.com/image.png",
"viewCount": 0,
"likeCount": 0,
"createdAt": "2024-09-26T02:20:41.851615",
"updatedAt": "2024-09-26T02:20:41.851639",
"isLiked": false
}
JSON
복사
Error
HTTP/1.1 4XX
”에러 메시지”