[post_api] Vote route
pierresaid opened this issue · comments
pierresaid commented
route
[POST] /vote
Create or Modify the vote for a post
body
[
{
"post_id": "1",
"value": -1 || 0 || 1,
}
]
header
[
{
"Authorization": "the_access_token"
}
]
PÉAU Clément commented
This change is functional on master. You will need to suply user_id in the body as I don't yet have the user_token.