AJAX view to handle just the vote response

GET /posts/api/84/vote/edit/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "post": "The machine learning mentioned above interests me. Will you be explaining how to train a model to compute the trend?",
    "userprofile": "constanz",
    "submit_date": "2017-12-02T07:04:46",
    "is_public": true,
    "parent": "82: post-82-by-seanmanefield",
    "story": "48: Getting the Right Target Price in a Forex or Futures System Using Simulations: published",
    "forum": null,
    "vote": 0,
    "upvotes_hidden": 0,
    "downvotes_hidden": 0,
    "report": false
}