API endpoint that allows Comments to be viewed or edited.

comments for a question:

http://127.0.0.1:8000/api/comments/?question=1065

comments for a question sorted by heat:

http://127.0.0.1:8000/api/comments/?question=1065&ordering=-direct_heat

Children of a comment:

http://127.0.0.1:8000/api/comments/?parent=35
GET /api/comments/1501/
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 1501,
    "url": "https://api.represent.me/api/comments/1501/",
    "text": "Strongly agree",
    "my_vote": [],
    "vote": [
        {
            "id": 289088,
            "value": 5.0,
            "user": 6296,
            "private": false,
            "active": true,
            "object": 2179,
            "created_at": "2016-07-20T16:46:10.156516Z",
            "modified_at": "2016-07-20T16:46:10.164012Z"
        }
    ],
    "question": 2179,
    "question_title": "Does the A48 between Ewenny roundabout and Laleston roundabout in Bridgend need more funding to improve road safety?",
    "user": {
        "id": 6296,
        "username": "JanetCarrington",
        "first_name": "Janet",
        "last_name": "Carrington",
        "url": "https://api.represent.me/api/users/6296/",
        "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/profile_pic_6296.jpg",
        "is_admin_verified": false,
        "verification_score": 70,
        "region_info": null,
        "country_info": null,
        "created_at": "2016-07-20T16:46:08.158528Z",
        "modified_at": "2019-04-15T15:51:54.560626Z",
        "last_answer_time": "2016-07-20T16:46:10.156516Z"
    },
    "question_url": "https://api.represent.me/api/questions/2179/",
    "parent": null,
    "parent_url": null,
    "subtype": "reason",
    "question_info": {
        "id": 2179,
        "question": "Does the A48 between Ewenny roundabout and Laleston roundabout in Bridgend need more funding to improve road safety?"
    },
    "direct_vote_count": 1,
    "direct_value": 5.0,
    "direct_sum": 2.0,
    "direct_heat": 5.0,
    "direct_consensus": 1.0,
    "direct_skipped": 0,
    "direct_minimum": 0,
    "direct_low": 0,
    "direct_medium": 0,
    "direct_high": 0,
    "direct_maximum": 1,
    "created_at": "2016-07-20T16:47:05.668075Z",
    "modified_at": "2016-07-20T16:47:09.348101Z"
}