Handle Create Vote
Allows the client to vote on a message.
Path Parameters |
---|
message_id Message Id — REQUIRED |
Request Body — REQUIRED |
---|
score Score — REQUIRED |
Responses | |||||
---|---|---|---|---|---|
200 Successful Response
| |||||
422 Validation Error
|
Allows the client to vote on a message.
Path Parameters |
---|
message_id Message Id — REQUIRED |
Request Body — REQUIRED |
---|
score Score — REQUIRED |
Responses | |||||
---|---|---|---|---|---|
200 Successful Response
| |||||
422 Validation Error
|
handle_create_vote_chats__chat_id__messages__message_id__votes_post
POST /chats/:chat_id/messages/:message_id/votes
curl -L -X POST 'https://andrewm4894.github.io/chats/:chat_id/messages/:message_id/votes' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'