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/?ordering=subtype
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 3517,
    "next": "https://api.represent.me/api/comments/?ordering=subtype&page=2",
    "previous": null,
    "next_id": 2,
    "previous_id": null,
    "results": [
        {
            "id": 1135,
            "url": "https://api.represent.me/api/comments/1135/",
            "text": "Intervene in what?",
            "my_vote": [],
            "vote": [],
            "question": 2096,
            "question_title": "The Queen should intervene for the good of the commonwealth.",
            "user": {
                "id": 4617,
                "username": "victoria_petherick-brian",
                "first_name": "Victoria",
                "last_name": "Petherick-Brian",
                "url": "https://api.represent.me/api/users/4617/",
                "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/profile_pic_4617_FERjRup.jpg",
                "is_admin_verified": false,
                "verification_score": 70,
                "region_info": {
                    "id": 45690,
                    "ID": "GBR_REGION_ENG",
                    "name": "England",
                    "m_type": "region",
                    "location": {
                        "type": "Point",
                        "coordinates": [
                            -1.4587100703941027,
                            52.59501517841384
                        ]
                    },
                    "members_count": 7875,
                    "question_count": 13,
                    "created_at": "2017-03-17T16:31:15.805339Z",
                    "parent": 59,
                    "modified_at": "2019-10-01T16:01:15.883160Z"
                },
                "country_info": {
                    "id": 59,
                    "ID": "GBR",
                    "name": "United Kingdom",
                    "m_type": "country",
                    "location": {
                        "type": "Point",
                        "coordinates": [
                            -2.8869514831036756,
                            54.14704818919766
                        ]
                    },
                    "members_count": 9093,
                    "question_count": 923,
                    "created_at": "2016-03-20T04:26:45.483907Z",
                    "parent": null,
                    "modified_at": "2019-10-01T16:01:15.905104Z"
                },
                "created_at": "2015-12-03T19:37:59.165000Z",
                "modified_at": "2019-04-15T15:54:11.256183Z",
                "last_answer_time": "2016-06-27T00:18:39.268479Z"
            },
            "question_url": "https://api.represent.me/api/questions/2096/",
            "parent": null,
            "parent_url": null,
            "subtype": "info",
            "question_info": {
                "id": 2096,
                "question": "The Queen should intervene for the good of the commonwealth."
            },
            "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": "2016-06-25T23:03:22.537174Z",
            "modified_at": "2016-06-25T23:03:22.537583Z"
        },
        {
            "id": 1178,
            "url": "https://api.represent.me/api/comments/1178/",
            "text": "What I don't understand is that the public is a collective and collectively we should have more purchase power than smaller private healthcare, why does the NHS seem to pay top whack for medicine?",
            "my_vote": [],
            "vote": [],
            "question": 571,
            "question_title": "Keep the NHS in public hands",
            "user": {
                "id": 5772,
                "username": "deleted_5772",
                "first_name": "",
                "last_name": "[deleted]",
                "url": "https://api.represent.me/api/users/5772/",
                "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/prof_initials_b63dbbeb75da45478779a23aa2717e26.png",
                "is_admin_verified": false,
                "verification_score": 35,
                "region_info": null,
                "country_info": null,
                "created_at": "2016-06-28T04:40:58Z",
                "modified_at": "2019-04-15T15:51:57.870937Z",
                "last_answer_time": "2016-10-12T21:54:16.552630Z"
            },
            "question_url": "https://api.represent.me/api/questions/571/",
            "parent": null,
            "parent_url": null,
            "subtype": "info",
            "question_info": {
                "id": 571,
                "question": "Keep the NHS in public hands"
            },
            "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": "2016-06-28T05:04:52.311463Z",
            "modified_at": "2016-06-28T05:04:52.311892Z"
        },
        {
            "id": 1134,
            "url": "https://api.represent.me/api/comments/1134/",
            "text": "Pretty sure it has the phrase \"knavish tricks\" in there somewhere.",
            "my_vote": [],
            "vote": [],
            "question": 1355,
            "question_title": "I know the words to the British national anthem",
            "user": {
                "id": 4617,
                "username": "victoria_petherick-brian",
                "first_name": "Victoria",
                "last_name": "Petherick-Brian",
                "url": "https://api.represent.me/api/users/4617/",
                "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/profile_pic_4617_FERjRup.jpg",
                "is_admin_verified": false,
                "verification_score": 70,
                "region_info": {
                    "id": 45690,
                    "ID": "GBR_REGION_ENG",
                    "name": "England",
                    "m_type": "region",
                    "location": {
                        "type": "Point",
                        "coordinates": [
                            -1.4587100703941027,
                            52.59501517841384
                        ]
                    },
                    "members_count": 7875,
                    "question_count": 13,
                    "created_at": "2017-03-17T16:31:15.805339Z",
                    "parent": 59,
                    "modified_at": "2019-10-01T16:01:15.883160Z"
                },
                "country_info": {
                    "id": 59,
                    "ID": "GBR",
                    "name": "United Kingdom",
                    "m_type": "country",
                    "location": {
                        "type": "Point",
                        "coordinates": [
                            -2.8869514831036756,
                            54.14704818919766
                        ]
                    },
                    "members_count": 9093,
                    "question_count": 923,
                    "created_at": "2016-03-20T04:26:45.483907Z",
                    "parent": null,
                    "modified_at": "2019-10-01T16:01:15.905104Z"
                },
                "created_at": "2015-12-03T19:37:59.165000Z",
                "modified_at": "2019-04-15T15:54:11.256183Z",
                "last_answer_time": "2016-06-27T00:18:39.268479Z"
            },
            "question_url": "https://api.represent.me/api/questions/1355/",
            "parent": null,
            "parent_url": null,
            "subtype": "info",
            "question_info": {
                "id": 1355,
                "question": "I know the words to the British national anthem"
            },
            "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": "2016-06-25T23:00:31.837092Z",
            "modified_at": "2016-06-25T23:00:31.837499Z"
        },
        {
            "id": 1166,
            "url": "https://api.represent.me/api/comments/1166/",
            "text": "In what sense? Indoctrination or sociological study?",
            "my_vote": [],
            "vote": [],
            "question": 1815,
            "question_title": "Religion should be taught in public schools.",
            "user": {
                "id": 4617,
                "username": "victoria_petherick-brian",
                "first_name": "Victoria",
                "last_name": "Petherick-Brian",
                "url": "https://api.represent.me/api/users/4617/",
                "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/profile_pic_4617_FERjRup.jpg",
                "is_admin_verified": false,
                "verification_score": 70,
                "region_info": {
                    "id": 45690,
                    "ID": "GBR_REGION_ENG",
                    "name": "England",
                    "m_type": "region",
                    "location": {
                        "type": "Point",
                        "coordinates": [
                            -1.4587100703941027,
                            52.59501517841384
                        ]
                    },
                    "members_count": 7875,
                    "question_count": 13,
                    "created_at": "2017-03-17T16:31:15.805339Z",
                    "parent": 59,
                    "modified_at": "2019-10-01T16:01:15.883160Z"
                },
                "country_info": {
                    "id": 59,
                    "ID": "GBR",
                    "name": "United Kingdom",
                    "m_type": "country",
                    "location": {
                        "type": "Point",
                        "coordinates": [
                            -2.8869514831036756,
                            54.14704818919766
                        ]
                    },
                    "members_count": 9093,
                    "question_count": 923,
                    "created_at": "2016-03-20T04:26:45.483907Z",
                    "parent": null,
                    "modified_at": "2019-10-01T16:01:15.905104Z"
                },
                "created_at": "2015-12-03T19:37:59.165000Z",
                "modified_at": "2019-04-15T15:54:11.256183Z",
                "last_answer_time": "2016-06-27T00:18:39.268479Z"
            },
            "question_url": "https://api.represent.me/api/questions/1815/",
            "parent": null,
            "parent_url": null,
            "subtype": "info",
            "question_info": {
                "id": 1815,
                "question": "Religion should be taught in public schools."
            },
            "direct_vote_count": 1,
            "direct_value": 5.0,
            "direct_sum": 2.0,
            "direct_heat": 0.367647058823529,
            "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-06-27T00:01:22.824592Z",
            "modified_at": "2016-10-31T18:49:09.880502Z"
        },
        {
            "id": 1168,
            "url": "https://api.represent.me/api/comments/1168/",
            "text": "Why?",
            "my_vote": [],
            "vote": [],
            "question": 584,
            "question_title": "Prohibit lorry movements on Sundays.",
            "user": {
                "id": 4617,
                "username": "victoria_petherick-brian",
                "first_name": "Victoria",
                "last_name": "Petherick-Brian",
                "url": "https://api.represent.me/api/users/4617/",
                "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/profile_pic_4617_FERjRup.jpg",
                "is_admin_verified": false,
                "verification_score": 70,
                "region_info": {
                    "id": 45690,
                    "ID": "GBR_REGION_ENG",
                    "name": "England",
                    "m_type": "region",
                    "location": {
                        "type": "Point",
                        "coordinates": [
                            -1.4587100703941027,
                            52.59501517841384
                        ]
                    },
                    "members_count": 7875,
                    "question_count": 13,
                    "created_at": "2017-03-17T16:31:15.805339Z",
                    "parent": 59,
                    "modified_at": "2019-10-01T16:01:15.883160Z"
                },
                "country_info": {
                    "id": 59,
                    "ID": "GBR",
                    "name": "United Kingdom",
                    "m_type": "country",
                    "location": {
                        "type": "Point",
                        "coordinates": [
                            -2.8869514831036756,
                            54.14704818919766
                        ]
                    },
                    "members_count": 9093,
                    "question_count": 923,
                    "created_at": "2016-03-20T04:26:45.483907Z",
                    "parent": null,
                    "modified_at": "2019-10-01T16:01:15.905104Z"
                },
                "created_at": "2015-12-03T19:37:59.165000Z",
                "modified_at": "2019-04-15T15:54:11.256183Z",
                "last_answer_time": "2016-06-27T00:18:39.268479Z"
            },
            "question_url": "https://api.represent.me/api/questions/584/",
            "parent": null,
            "parent_url": null,
            "subtype": "info",
            "question_info": {
                "id": 584,
                "question": "Prohibit lorry movements on Sundays."
            },
            "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": "2016-06-27T00:07:15.116199Z",
            "modified_at": "2016-06-27T00:07:15.116613Z"
        },
        {
            "id": 1169,
            "url": "https://api.represent.me/api/comments/1169/",
            "text": "Not enough information - I had to look this up. Agreed on the assumption that is referring to article 5 of the Universal Declaration of Human Rights: \"No one shall be subjected to torture or to cruel, inhuman or degrading treatment or punishment\".",
            "my_vote": [],
            "vote": [],
            "question": 575,
            "question_title": "Extend article 5 of the human rights declaration “to all sentient life forms”",
            "user": {
                "id": 4617,
                "username": "victoria_petherick-brian",
                "first_name": "Victoria",
                "last_name": "Petherick-Brian",
                "url": "https://api.represent.me/api/users/4617/",
                "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/profile_pic_4617_FERjRup.jpg",
                "is_admin_verified": false,
                "verification_score": 70,
                "region_info": {
                    "id": 45690,
                    "ID": "GBR_REGION_ENG",
                    "name": "England",
                    "m_type": "region",
                    "location": {
                        "type": "Point",
                        "coordinates": [
                            -1.4587100703941027,
                            52.59501517841384
                        ]
                    },
                    "members_count": 7875,
                    "question_count": 13,
                    "created_at": "2017-03-17T16:31:15.805339Z",
                    "parent": 59,
                    "modified_at": "2019-10-01T16:01:15.883160Z"
                },
                "country_info": {
                    "id": 59,
                    "ID": "GBR",
                    "name": "United Kingdom",
                    "m_type": "country",
                    "location": {
                        "type": "Point",
                        "coordinates": [
                            -2.8869514831036756,
                            54.14704818919766
                        ]
                    },
                    "members_count": 9093,
                    "question_count": 923,
                    "created_at": "2016-03-20T04:26:45.483907Z",
                    "parent": null,
                    "modified_at": "2019-10-01T16:01:15.905104Z"
                },
                "created_at": "2015-12-03T19:37:59.165000Z",
                "modified_at": "2019-04-15T15:54:11.256183Z",
                "last_answer_time": "2016-06-27T00:18:39.268479Z"
            },
            "question_url": "https://api.represent.me/api/questions/575/",
            "parent": null,
            "parent_url": null,
            "subtype": "info",
            "question_info": {
                "id": 575,
                "question": "Extend article 5 of the human rights declaration “to all sentient life forms”"
            },
            "direct_vote_count": 1,
            "direct_value": 5.0,
            "direct_sum": 2.0,
            "direct_heat": 2.77777777777778,
            "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-06-27T00:26:47.338407Z",
            "modified_at": "2016-07-05T18:59:12.210915Z"
        },
        {
            "id": 1374,
            "url": "https://api.represent.me/api/comments/1374/",
            "text": "Is it a war with drugs?",
            "my_vote": [],
            "vote": [],
            "question": 1337,
            "question_title": "Send in a UN crack team to arrest Assad for war crimes.",
            "user": {
                "id": 5772,
                "username": "deleted_5772",
                "first_name": "",
                "last_name": "[deleted]",
                "url": "https://api.represent.me/api/users/5772/",
                "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/prof_initials_b63dbbeb75da45478779a23aa2717e26.png",
                "is_admin_verified": false,
                "verification_score": 35,
                "region_info": null,
                "country_info": null,
                "created_at": "2016-06-28T04:40:58Z",
                "modified_at": "2019-04-15T15:51:57.870937Z",
                "last_answer_time": "2016-10-12T21:54:16.552630Z"
            },
            "question_url": "https://api.represent.me/api/questions/1337/",
            "parent": null,
            "parent_url": null,
            "subtype": "info",
            "question_info": {
                "id": 1337,
                "question": "Send in a UN crack team to arrest Assad for war crimes."
            },
            "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": "2016-07-05T19:40:53.681340Z",
            "modified_at": "2016-07-05T19:40:53.681749Z"
        },
        {
            "id": 1133,
            "url": "https://api.represent.me/api/comments/1133/",
            "text": "Or a better design of toilet brush...",
            "my_vote": [],
            "vote": [],
            "question": 1127,
            "question_title": "The number of toilet brushes sold shows a gap in the market for a better design of toilet.",
            "user": {
                "id": 4617,
                "username": "victoria_petherick-brian",
                "first_name": "Victoria",
                "last_name": "Petherick-Brian",
                "url": "https://api.represent.me/api/users/4617/",
                "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/profile_pic_4617_FERjRup.jpg",
                "is_admin_verified": false,
                "verification_score": 70,
                "region_info": {
                    "id": 45690,
                    "ID": "GBR_REGION_ENG",
                    "name": "England",
                    "m_type": "region",
                    "location": {
                        "type": "Point",
                        "coordinates": [
                            -1.4587100703941027,
                            52.59501517841384
                        ]
                    },
                    "members_count": 7875,
                    "question_count": 13,
                    "created_at": "2017-03-17T16:31:15.805339Z",
                    "parent": 59,
                    "modified_at": "2019-10-01T16:01:15.883160Z"
                },
                "country_info": {
                    "id": 59,
                    "ID": "GBR",
                    "name": "United Kingdom",
                    "m_type": "country",
                    "location": {
                        "type": "Point",
                        "coordinates": [
                            -2.8869514831036756,
                            54.14704818919766
                        ]
                    },
                    "members_count": 9093,
                    "question_count": 923,
                    "created_at": "2016-03-20T04:26:45.483907Z",
                    "parent": null,
                    "modified_at": "2019-10-01T16:01:15.905104Z"
                },
                "created_at": "2015-12-03T19:37:59.165000Z",
                "modified_at": "2019-04-15T15:54:11.256183Z",
                "last_answer_time": "2016-06-27T00:18:39.268479Z"
            },
            "question_url": "https://api.represent.me/api/questions/1127/",
            "parent": null,
            "parent_url": null,
            "subtype": "info",
            "question_info": {
                "id": 1127,
                "question": "The number of toilet brushes sold shows a gap in the market for a better design of toilet."
            },
            "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": "2016-06-25T22:51:08.983325Z",
            "modified_at": "2016-06-25T22:51:08.983783Z"
        },
        {
            "id": 1306,
            "url": "https://api.represent.me/api/comments/1306/",
            "text": "Again what exactly is a foreign lorry?, does that mean the UK will have to pay more for those foreign goods?",
            "my_vote": [],
            "vote": [],
            "question": 1445,
            "question_title": "Foreign lorries should pay more to use British roads",
            "user": {
                "id": 5772,
                "username": "deleted_5772",
                "first_name": "",
                "last_name": "[deleted]",
                "url": "https://api.represent.me/api/users/5772/",
                "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/prof_initials_b63dbbeb75da45478779a23aa2717e26.png",
                "is_admin_verified": false,
                "verification_score": 35,
                "region_info": null,
                "country_info": null,
                "created_at": "2016-06-28T04:40:58Z",
                "modified_at": "2019-04-15T15:51:57.870937Z",
                "last_answer_time": "2016-10-12T21:54:16.552630Z"
            },
            "question_url": "https://api.represent.me/api/questions/1445/",
            "parent": null,
            "parent_url": null,
            "subtype": "info",
            "question_info": {
                "id": 1445,
                "question": "Foreign lorries should pay more to use British roads"
            },
            "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": "2016-07-02T12:01:11.582700Z",
            "modified_at": "2016-07-02T12:01:11.583137Z"
        },
        {
            "id": 1226,
            "url": "https://api.represent.me/api/comments/1226/",
            "text": "It should be free outdoor play in a green area though, not structured sports.",
            "my_vote": [],
            "vote": [
                {
                    "id": 265462,
                    "value": 4.0,
                    "user": 5878,
                    "private": false,
                    "active": true,
                    "object": 613,
                    "created_at": "2016-06-29T16:03:32.810207Z",
                    "modified_at": "2016-06-29T16:03:32.810546Z"
                }
            ],
            "question": 613,
            "question_title": "More formalised time should be allocated for sport and physical activity during the school-day",
            "user": {
                "id": 5878,
                "username": "ShoshanahCohen",
                "first_name": "Shoshanah",
                "last_name": "Cohen",
                "url": "https://api.represent.me/api/users/5878/",
                "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/profile_pic_5878_0bPuqZS.jpg",
                "is_admin_verified": false,
                "verification_score": 70,
                "region_info": null,
                "country_info": null,
                "created_at": "2016-06-29T15:58:54.390658Z",
                "modified_at": "2019-04-15T15:54:36.779614Z",
                "last_answer_time": "2016-06-29T16:06:01.782161Z"
            },
            "question_url": "https://api.represent.me/api/questions/613/",
            "parent": null,
            "parent_url": null,
            "subtype": "info",
            "question_info": {
                "id": 613,
                "question": "More formalised time should be allocated for sport and physical activity during the school-day"
            },
            "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": "2016-06-29T16:04:28.511668Z",
            "modified_at": "2016-06-29T16:04:28.512097Z"
        }
    ]
}