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

{
    "id": 13,
    "url": "https://api.represent.me/api/comments/13/",
    "text": "Because promising people is different to banks,corporations, judges, who have little or no value in promises .",
    "my_vote": [],
    "vote": [
        {
            "id": 8995,
            "value": null,
            "user": 93,
            "private": false,
            "active": true,
            "object": 406,
            "created_at": "2015-02-17T20:01:06.820000Z",
            "modified_at": "2016-04-14T19:45:45.834833Z"
        }
    ],
    "question": 406,
    "question_title": "I always keep my promises.",
    "user": {
        "id": 93,
        "username": "white horse_pictures",
        "first_name": "white horse",
        "last_name": "pictures",
        "url": "https://api.represent.me/api/users/93/",
        "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/1434630755495.jpg",
        "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": 7866,
            "question_count": 13,
            "created_at": "2017-03-17T16:31:15.805339Z",
            "parent": 59,
            "modified_at": "2019-07-15T09:12:13.773714Z"
        },
        "country_info": {
            "id": 59,
            "ID": "GBR",
            "name": "United Kingdom",
            "m_type": "country",
            "location": {
                "type": "Point",
                "coordinates": [
                    -2.8869514831036756,
                    54.14704818919766
                ]
            },
            "members_count": 9084,
            "question_count": 923,
            "created_at": "2016-03-20T04:26:45.483907Z",
            "parent": null,
            "modified_at": "2019-07-15T09:12:13.796827Z"
        },
        "created_at": "2015-02-12T00:09:38.170000Z",
        "modified_at": "2019-04-15T15:53:35.658986Z",
        "last_answer_time": "2017-01-04T18:22:20.395927Z"
    },
    "question_url": "https://api.represent.me/api/questions/406/",
    "parent": null,
    "parent_url": null,
    "subtype": "reason",
    "question_info": {
        "id": 406,
        "question": "I always keep my promises."
    },
    "direct_vote_count": 0,
    "direct_value": 0.0,
    "direct_sum": 0.0,
    "direct_heat": 0.0,
    "direct_consensus": 0.5,
    "direct_skipped": 0,
    "direct_minimum": 0,
    "direct_low": 0,
    "direct_medium": 0,
    "direct_high": 0,
    "direct_maximum": 0,
    "created_at": "2015-02-17T20:05:19.914000Z",
    "modified_at": "2016-04-15T02:04:40.981053Z"
}