Member
POST http://{{host}}:8080/member
Content-Type: application/json
{
"name": "member#1",
"profile": "<https://picsum.photos/200>"
}
GET http://{{host}}:8080/member/{{memberId}}
Board
POST http://{{host}}:8080/board
Content-Type: application/json
{
}
GET http://{{host}}:8080/board
GET http://{{host}}:8080/board/{{boardId}}
Vote
POST http://{{host}}:8080/vote
Content-Type: application/json
{
"boardId": 1,
"validUntil": "2023-12-27T16:56:39",
"isAnonymous": false,
"isMultiple": true,
"voteItems": [
{
"content": "식당#1"
},
{
"content": "식당#2"
}
]
}
GET http://{{host}}:8080/vote/{{voteId}}
VoteItem
POST http://{{host}}:8080/vote/item
Content-Type: application/json
{
"voteId": 1,
"content": "식당#1"
}
GET http://{{host}}:8080/vote/item/{{voteItemId}}
VoteLog
POST http://{{host}}:8080/vote/log
Content-Type: application/json
{
"voteItemId": 1,
"memberId": 1
}
GET http://{{host}}:8080/vote/log/{{voteLogId}}
Response