특산주 등록

API
drink
METHOD
POST
PATH
api/drinks/registrations
개발완료
담당자

Description

<특산주 등록 신청>
특산주 정보와 사진파일을 입력받아 특산주 신청

Request

Content-type: application/json
Shell
복사
{ "regionId": 1, "drinkName": "맛있는 특산주", "type": "BEER", "degree": 7, "sweetness": 5, "cost": 5000, "description": "초콜릿으로 만든 맥주", "imageUrl": "http://example.com/image.png" }
JSON
복사

Response

{ "id": 1, "memberId": 1, "memberName": "John", "placeName": "서울특별시", "drinkName": "맛있는 특산주", "type": "BEER", "degree": 7.0, "sweetness": 5, "cost": 5000, "description": "초콜릿으로 만든 맥주", "imageUrl": "http://example.com/image.png", "approved": null, "createdAt": "2024-09-25T22:23:29.948373" }
JSON
복사

Error

HTTP/1.1 4XX
”에러 메시지”