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/14/
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 14,
    "url": "https://api.represent.me/api/comments/14/",
    "text": "There are so many reasons, see e.g. http://www.reasonstovotegreen.org.uk/",
    "my_vote": [],
    "vote": [
        {
            "id": 9082,
            "value": 5.0,
            "user": 98,
            "private": false,
            "active": true,
            "object": 394,
            "created_at": "2015-02-18T10:34:27.878000Z",
            "modified_at": "2016-04-14T19:45:46.096612Z"
        }
    ],
    "question": 394,
    "question_title": "#VoteGreen2015",
    "user": {
        "id": 98,
        "username": "josef_davies-coates",
        "first_name": "Josef",
        "last_name": "Davies-Coates",
        "url": "https://api.represent.me/api/users/98/",
        "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/prof_initials_dd3cdd988d704404b4b2c33e34982c55.png",
        "is_admin_verified": false,
        "verification_score": 59,
        "region_info": {
            "id": 45690,
            "ID": "GBR_REGION_ENG",
            "name": "England",
            "m_type": "region",
            "location": {
                "type": "Point",
                "coordinates": [
                    -1.4587100703941027,
                    52.59501517841384
                ]
            },
            "members_count": 7886,
            "question_count": 13,
            "created_at": "2017-03-17T16:31:15.805339Z",
            "parent": 59,
            "modified_at": "2019-11-08T14:36:30.820979Z"
        },
        "country_info": {
            "id": 59,
            "ID": "GBR",
            "name": "United Kingdom",
            "m_type": "country",
            "location": {
                "type": "Point",
                "coordinates": [
                    -2.8869514831036756,
                    54.14704818919766
                ]
            },
            "members_count": 9104,
            "question_count": 923,
            "created_at": "2016-03-20T04:26:45.483907Z",
            "parent": null,
            "modified_at": "2019-11-08T14:36:30.842961Z"
        },
        "created_at": "2015-02-12T15:31:08.610000Z",
        "modified_at": "2019-04-15T15:54:57.004490Z",
        "last_answer_time": "2018-12-23T02:04:33.856300Z"
    },
    "question_url": "https://api.represent.me/api/questions/394/",
    "parent": null,
    "parent_url": null,
    "subtype": "reason",
    "question_info": {
        "id": 394,
        "question": "#VoteGreen2015"
    },
    "direct_vote_count": 2,
    "direct_value": 3.0,
    "direct_sum": 6.0,
    "direct_heat": 0.139211136890951,
    "direct_consensus": 0.5,
    "direct_skipped": 0,
    "direct_minimum": 1,
    "direct_low": 0,
    "direct_medium": 0,
    "direct_high": 0,
    "direct_maximum": 1,
    "created_at": "2015-02-18T10:35:08.076000Z",
    "modified_at": "2016-04-15T02:04:40.993657Z"
}