A view to create, edit and delete Question Collections

check out http://localhost:8000/api/questions/?in_collections__parent=2 to see questions associated with collection 2

or http://localhost:8000/api/question_colection_items/?parent=2 to see the connections

to copy someone's collection to yourself:

http://localhost:8000/api/question_colections/ID/copy/

to update order of items:

http://localhost:8000/api/question_colections/ID/update_order/

Request body for updating order should looks like this:

{
    "items": [
        {"id": item.id, "order": order},
        {"id": item.id, "order": order}
    ]
}
GET /api/question_collections/?ordering=desc
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 69,
    "next": "https://api.represent.me/api/question_collections/?ordering=desc&page=2",
    "previous": null,
    "next_id": 2,
    "previous_id": null,
    "results": [
        {
            "id": 108,
            "url": "https://api.represent.me/api/question_collections/108/",
            "user_url": "https://api.represent.me/api/users/4680/",
            "name": "Is it sexist to make men take the bins out?",
            "user": {
                "id": 4680,
                "username": "kcorrick",
                "first_name": "Kathryn",
                "last_name": "Corrick",
                "url": "https://api.represent.me/api/users/4680/",
                "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/profile_pic_4680_R4815ev.jpg",
                "age": 45,
                "bio": "COO, Represent\r\n@kcorrick & @RepresentLive",
                "created_at": "2016-01-03T09:29:59Z",
                "modified_at": "2019-06-06T16:17:08.901454Z",
                "is_deleted": false,
                "last_answer_time": "2019-06-06T16:17:08.901183Z",
                "politician": null,
                "politician_info": null,
                "is_email_verified": true,
                "is_admin_verified": true,
                "is_facebook_verified": true,
                "is_google_verified": false,
                "is_twitter_verified": false,
                "is_linkedin_verified": false,
                "is_stripe_verified": false,
                "verification_count": 3,
                "verification_score": 100,
                "count_questions": 191,
                "count_votes": 934,
                "count_question_votes": 822,
                "count_friends": 47,
                "count_comment_votes": 43,
                "count_choice_votes": 112,
                "count_group_memberships": 18,
                "count_following_tags": 14,
                "count_comments": 47,
                "count_following_users": 227,
                "count_followers": 32,
                "karma": 2
            },
            "created_at": "2017-05-12T15:28:24.692119Z",
            "modified_at": "2017-05-18T10:44:15.763635Z",
            "questions_link": "https://api.represent.me/api/questions/?in_collections__parent=108",
            "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/482565fe-0d33-4cf5-a558-71746cc6cb95.png",
            "desc": "",
            "username": "kcorrick",
            "question_count": 12,
            "item_count": 0,
            "end_text": "Thank you!",
            "expire_at": null,
            "geo": null,
            "geo_url": null,
            "geo_info": null,
            "answered": 0.0
        },
        {
            "id": 120,
            "url": "https://api.represent.me/api/question_collections/120/",
            "user_url": "https://api.represent.me/api/users/41/",
            "name": "Breathing Space",
            "user": {
                "id": 41,
                "username": "gustavo montesdeoca_montes de",
                "first_name": "Gustavo",
                "last_name": "Montes De Oca",
                "url": "https://api.represent.me/api/users/41/",
                "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/1434630755357.jpg",
                "age": 39,
                "bio": "",
                "created_at": "2015-02-06T00:38:58.056000Z",
                "modified_at": "2019-04-15T15:54:56.010257Z",
                "is_deleted": false,
                "last_answer_time": "2017-06-28T16:59:20.981465Z",
                "politician": null,
                "politician_info": null,
                "is_email_verified": true,
                "is_admin_verified": false,
                "is_facebook_verified": false,
                "is_google_verified": true,
                "is_twitter_verified": false,
                "is_linkedin_verified": false,
                "is_stripe_verified": false,
                "verification_count": 2,
                "verification_score": 77,
                "count_questions": 48,
                "count_votes": 416,
                "count_question_votes": 389,
                "count_friends": 0,
                "count_comment_votes": 1,
                "count_choice_votes": 27,
                "count_group_memberships": 4,
                "count_following_tags": 7,
                "count_comments": 1,
                "count_following_users": 2,
                "count_followers": 2,
                "karma": 0
            },
            "created_at": "2017-05-18T20:14:53.856305Z",
            "modified_at": "2017-05-18T21:43:39.584017Z",
            "questions_link": "https://api.represent.me/api/questions/?in_collections__parent=120",
            "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/b4d4789c-59f7-47c3-ac69-022cc2279573.png",
            "desc": "",
            "username": "gustavo montesdeoca_montes de",
            "question_count": 7,
            "item_count": 0,
            "end_text": "Thank you. It is important that we recognise that we have more in common than what divides us. Our wellbeing and that of our loved ones is one of those things we all share. We all make difficult choices, but they tend to be focused around what we feel is best for our family.",
            "expire_at": null,
            "geo": null,
            "geo_url": null,
            "geo_info": null,
            "answered": 0.0
        },
        {
            "id": 54,
            "url": "https://api.represent.me/api/question_collections/54/",
            "user_url": "https://api.represent.me/api/users/4680/",
            "name": "How should the housing crisis be tackled?",
            "user": {
                "id": 4680,
                "username": "kcorrick",
                "first_name": "Kathryn",
                "last_name": "Corrick",
                "url": "https://api.represent.me/api/users/4680/",
                "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/profile_pic_4680_R4815ev.jpg",
                "age": 45,
                "bio": "COO, Represent\r\n@kcorrick & @RepresentLive",
                "created_at": "2016-01-03T09:29:59Z",
                "modified_at": "2019-06-06T16:17:08.901454Z",
                "is_deleted": false,
                "last_answer_time": "2019-06-06T16:17:08.901183Z",
                "politician": null,
                "politician_info": null,
                "is_email_verified": true,
                "is_admin_verified": true,
                "is_facebook_verified": true,
                "is_google_verified": false,
                "is_twitter_verified": false,
                "is_linkedin_verified": false,
                "is_stripe_verified": false,
                "verification_count": 3,
                "verification_score": 100,
                "count_questions": 191,
                "count_votes": 934,
                "count_question_votes": 822,
                "count_friends": 47,
                "count_comment_votes": 43,
                "count_choice_votes": 112,
                "count_group_memberships": 18,
                "count_following_tags": 14,
                "count_comments": 47,
                "count_following_users": 227,
                "count_followers": 32,
                "karma": 2
            },
            "created_at": "2017-04-27T14:33:20.694279Z",
            "modified_at": "2017-05-07T16:04:27.304490Z",
            "questions_link": "https://api.represent.me/api/questions/?in_collections__parent=54",
            "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/d79cab41-8bb3-42fa-9bbd-ab6166c399b3.png",
            "desc": "",
            "username": "kcorrick",
            "question_count": 10,
            "item_count": 0,
            "end_text": "Thank you for sharing what you care about. We'll publish the results tomorrow!",
            "expire_at": null,
            "geo": null,
            "geo_url": null,
            "geo_info": null,
            "answered": 0.0
        },
        {
            "id": 50,
            "url": "https://api.represent.me/api/question_collections/50/",
            "user_url": "https://api.represent.me/api/users/17351/",
            "name": "Have your say on the Labour's 2017 general election pledges",
            "user": {
                "id": 17351,
                "username": "LabourPartyPolicies",
                "first_name": "Labour",
                "last_name": "Party Policies",
                "url": "https://api.represent.me/api/users/17351/",
                "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/02e4e1fe-9131-4de3-9551-7a46e9cf7fba.png",
                "age": 119,
                "bio": "The UK Labour Party isn't on Represent yet. Please tweet them to let them know you'd like to learn more of their values and priorities and show them more of yours on @representLive. Thank you! \r\n *******\r\n \r\nBecause the UK Labour Party  isn't yet on Represent we've compiled this profile from their policies, statements and tweets.",
                "created_at": "2017-04-22T18:09:30Z",
                "modified_at": "2019-04-15T15:54:57.423159Z",
                "is_deleted": false,
                "last_answer_time": "2017-06-10T08:55:33.452832Z",
                "politician": null,
                "politician_info": null,
                "is_email_verified": true,
                "is_admin_verified": true,
                "is_facebook_verified": false,
                "is_google_verified": false,
                "is_twitter_verified": false,
                "is_linkedin_verified": false,
                "is_stripe_verified": false,
                "verification_count": 0,
                "verification_score": 100,
                "count_questions": 9,
                "count_votes": 113,
                "count_question_votes": 100,
                "count_friends": 0,
                "count_comment_votes": 0,
                "count_choice_votes": 13,
                "count_group_memberships": 1,
                "count_following_tags": 3,
                "count_comments": 0,
                "count_following_users": 1,
                "count_followers": 11,
                "karma": 0
            },
            "created_at": "2017-04-22T14:10:18Z",
            "modified_at": "2017-05-01T16:48:05.191339Z",
            "questions_link": "https://api.represent.me/api/questions/?in_collections__parent=50",
            "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/744b6cb7-fc2f-4891-87ee-88707f2b468d.png",
            "desc": "",
            "username": "LabourPartyPolicies",
            "question_count": 22,
            "item_count": 0,
            "end_text": "Thank you for answering this OpenSurvey. The questions and answers were based on Labour's 2017 general election pledges which can be found here: http://www.labour.org.uk/index.php/10-pledges \r\n\r\nImage: CC-BY-SA 4.0 https://commons.wikimedia.org/wiki/File:Jermey_Corbyn.jpg",
            "expire_at": null,
            "geo": null,
            "geo_url": null,
            "geo_info": null,
            "answered": 0.0
        },
        {
            "id": 10,
            "url": "https://api.represent.me/api/question_collections/10/",
            "user_url": "https://api.represent.me/api/users/6136/",
            "name": "How do you compare with Theresa May?",
            "user": {
                "id": 6136,
                "username": "PoliciesofTheresaMay",
                "first_name": "Policies of",
                "last_name": "Theresa May",
                "url": "https://api.represent.me/api/users/6136/",
                "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/2a068f4a-b8cd-4d45-a6c2-41bca3320936.png",
                "age": 63,
                "bio": "Theresa May isn't on Represent yet. Please tweet @Theresa_May to let her know you'd like to learn more of her values and priorities and show her more of yours @RepresentLive. Thank you! \n *******\n \nBecause Theresa May isn't yet on Represent we've compiled this profile from her policies, voting record, statements and tweets.",
                "created_at": "2016-07-12T11:11:46.033237Z",
                "modified_at": "2019-04-15T15:52:50.370511Z",
                "is_deleted": false,
                "last_answer_time": "2016-07-14T08:46:45.825537Z",
                "politician": null,
                "politician_info": null,
                "is_email_verified": false,
                "is_admin_verified": false,
                "is_facebook_verified": false,
                "is_google_verified": false,
                "is_twitter_verified": false,
                "is_linkedin_verified": false,
                "is_stripe_verified": false,
                "verification_count": 0,
                "verification_score": 35,
                "count_questions": 0,
                "count_votes": 27,
                "count_question_votes": 26,
                "count_friends": 0,
                "count_comment_votes": 0,
                "count_choice_votes": 1,
                "count_group_memberships": 2,
                "count_following_tags": 1,
                "count_comments": 0,
                "count_following_users": 1,
                "count_followers": 5,
                "karma": 0
            },
            "created_at": "2016-07-11T21:58:32Z",
            "modified_at": "2017-03-08T10:32:37.594192Z",
            "questions_link": "https://api.represent.me/api/questions/?in_collections__parent=10",
            "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/77147fa7-ce35-474e-8e22-0c9e0b544d64.png",
            "desc": "... and what would you like to tell her? Answer here and we'll make sure everyone knows what you think!\r\n\r\nThis collection has been produced by researching Theresa May's leadership launch speech, public statements and voting record.\r\n\r\nSources:\r\nTheyWorkForYou - https://tinyurl.com/tw4uTM \r\nTheresa 2016 - https://tinyurl.com/h423sys\r\nDaily Telegraph - https://tinyurl.com/z3b4huw",
            "username": "PoliciesofTheresaMay",
            "question_count": 28,
            "item_count": 0,
            "end_text": null,
            "expire_at": null,
            "geo": null,
            "geo_url": null,
            "geo_info": null,
            "answered": 0.0
        },
        {
            "id": 16,
            "url": "https://api.represent.me/api/question_collections/16/",
            "user_url": "https://api.represent.me/api/users/4680/",
            "name": "The Olympics",
            "user": {
                "id": 4680,
                "username": "kcorrick",
                "first_name": "Kathryn",
                "last_name": "Corrick",
                "url": "https://api.represent.me/api/users/4680/",
                "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/profile_pic_4680_R4815ev.jpg",
                "age": 45,
                "bio": "COO, Represent\r\n@kcorrick & @RepresentLive",
                "created_at": "2016-01-03T09:29:59Z",
                "modified_at": "2019-06-06T16:17:08.901454Z",
                "is_deleted": false,
                "last_answer_time": "2019-06-06T16:17:08.901183Z",
                "politician": null,
                "politician_info": null,
                "is_email_verified": true,
                "is_admin_verified": true,
                "is_facebook_verified": true,
                "is_google_verified": false,
                "is_twitter_verified": false,
                "is_linkedin_verified": false,
                "is_stripe_verified": false,
                "verification_count": 3,
                "verification_score": 100,
                "count_questions": 191,
                "count_votes": 934,
                "count_question_votes": 822,
                "count_friends": 47,
                "count_comment_votes": 43,
                "count_choice_votes": 112,
                "count_group_memberships": 18,
                "count_following_tags": 14,
                "count_comments": 47,
                "count_following_users": 227,
                "count_followers": 32,
                "karma": 2
            },
            "created_at": "2016-08-15T15:01:03.798038Z",
            "modified_at": "2017-03-08T10:32:38.849675Z",
            "questions_link": "https://api.represent.me/api/questions/?in_collections__parent=16",
            "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/87a35d0f-74de-4641-bfee-4a59ce4cd65f.png",
            "desc": "An inspiring few weeks of human achievement or bah-ha-humbug. Find out where you stand and compare with friends.",
            "username": "kcorrick",
            "question_count": 12,
            "item_count": 0,
            "end_text": null,
            "expire_at": null,
            "geo": null,
            "geo_url": null,
            "geo_info": null,
            "answered": 0.0
        },
        {
            "id": 127,
            "url": "https://api.represent.me/api/question_collections/127/",
            "user_url": "https://api.represent.me/api/users/17763/",
            "name": "Take our in-depth quiz. Make sure your next MP represents you.",
            "user": {
                "id": 17763,
                "username": "questionsbyrepresent",
                "first_name": "Questions",
                "last_name": "by Represent",
                "url": "https://api.represent.me/api/users/17763/",
                "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/cc7bdcfd-ae42-4c69-b02d-0fb26129820c.png",
                "age": 45,
                "bio": "",
                "created_at": "2017-05-22T13:58:29Z",
                "modified_at": "2019-04-15T15:54:57.227687Z",
                "is_deleted": false,
                "last_answer_time": "2017-06-05T16:30:02.921000Z",
                "politician": null,
                "politician_info": null,
                "is_email_verified": true,
                "is_admin_verified": true,
                "is_facebook_verified": false,
                "is_google_verified": false,
                "is_twitter_verified": false,
                "is_linkedin_verified": false,
                "is_stripe_verified": false,
                "verification_count": 0,
                "verification_score": 100,
                "count_questions": 8,
                "count_votes": 4,
                "count_question_votes": 1,
                "count_friends": 0,
                "count_comment_votes": 0,
                "count_choice_votes": 3,
                "count_group_memberships": 1,
                "count_following_tags": 1,
                "count_comments": 0,
                "count_following_users": 2,
                "count_followers": 0,
                "karma": 0
            },
            "created_at": "2017-05-25T08:52:40Z",
            "modified_at": "2017-06-05T15:03:53.226669Z",
            "questions_link": "https://api.represent.me/api/questions/?in_collections__parent=127",
            "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/8b3c3e76-bb09-44f0-bfaa-440696cb589b.png",
            "desc": "Based on the key issues and party manifestos find which party best matches your values. Whoever wins we'll let your constituency MP know what you care about.",
            "username": "questionsbyrepresent",
            "question_count": 122,
            "item_count": 137,
            "end_text": "Thank you. We will ensure your new MP - whoever they are! - knows what you care about, and will help you work with them throughout the next 5 years with votes and discussion.",
            "expire_at": null,
            "geo": null,
            "geo_url": null,
            "geo_info": null,
            "answered": 0.0
        },
        {
            "id": 151,
            "url": "https://api.represent.me/api/question_collections/151/",
            "user_url": "https://api.represent.me/api/users/6561/",
            "name": "Energy pricing: should it be costing the earth?",
            "user": {
                "id": 6561,
                "username": "g_laures",
                "first_name": "Laures",
                "last_name": "GANDONOU",
                "url": "https://api.represent.me/api/users/6561/",
                "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/prof_initials_1839db141fd24cb29e7cebb61947eabb.png",
                "age": 32,
                "bio": "",
                "created_at": "2016-09-03T09:51:30.420141Z",
                "modified_at": "2019-05-29T16:43:41.235492Z",
                "is_deleted": false,
                "last_answer_time": "2019-05-29T16:35:32.665197Z",
                "politician": null,
                "politician_info": null,
                "is_email_verified": true,
                "is_admin_verified": false,
                "is_facebook_verified": false,
                "is_google_verified": false,
                "is_twitter_verified": false,
                "is_linkedin_verified": false,
                "is_stripe_verified": false,
                "verification_count": 1,
                "verification_score": 59,
                "count_questions": 0,
                "count_votes": 235,
                "count_question_votes": 194,
                "count_friends": 0,
                "count_comment_votes": 2,
                "count_choice_votes": 41,
                "count_group_memberships": 1,
                "count_following_tags": 4,
                "count_comments": 2,
                "count_following_users": 4,
                "count_followers": 0,
                "karma": 0
            },
            "created_at": "2017-05-09T13:57:34.372457Z",
            "modified_at": "2018-11-21T12:40:18.989772Z",
            "questions_link": "https://api.represent.me/api/questions/?in_collections__parent=151",
            "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/48250a0d-c9b2-4ba7-ab21-79785b58203e.png",
            "desc": "Can household energy bills and climate change be reconciled? How would you like politicians to prioritise their decision making and your taxes?",
            "username": "g_laures",
            "question_count": 16,
            "item_count": 0,
            "end_text": "Thank you!",
            "expire_at": null,
            "geo": null,
            "geo_url": null,
            "geo_info": null,
            "answered": 0.0
        },
        {
            "id": 76,
            "url": "https://api.represent.me/api/question_collections/76/",
            "user_url": "https://api.represent.me/api/users/4680/",
            "name": "Energy pricing: should it be costing the earth?",
            "user": {
                "id": 4680,
                "username": "kcorrick",
                "first_name": "Kathryn",
                "last_name": "Corrick",
                "url": "https://api.represent.me/api/users/4680/",
                "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/profile_pic_4680_R4815ev.jpg",
                "age": 45,
                "bio": "COO, Represent\r\n@kcorrick & @RepresentLive",
                "created_at": "2016-01-03T09:29:59Z",
                "modified_at": "2019-06-06T16:17:08.901454Z",
                "is_deleted": false,
                "last_answer_time": "2019-06-06T16:17:08.901183Z",
                "politician": null,
                "politician_info": null,
                "is_email_verified": true,
                "is_admin_verified": true,
                "is_facebook_verified": true,
                "is_google_verified": false,
                "is_twitter_verified": false,
                "is_linkedin_verified": false,
                "is_stripe_verified": false,
                "verification_count": 3,
                "verification_score": 100,
                "count_questions": 191,
                "count_votes": 934,
                "count_question_votes": 822,
                "count_friends": 47,
                "count_comment_votes": 43,
                "count_choice_votes": 112,
                "count_group_memberships": 18,
                "count_following_tags": 14,
                "count_comments": 47,
                "count_following_users": 227,
                "count_followers": 32,
                "karma": 2
            },
            "created_at": "2017-05-09T13:57:34.372457Z",
            "modified_at": "2017-05-09T16:00:50.978205Z",
            "questions_link": "https://api.represent.me/api/questions/?in_collections__parent=76",
            "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/48250a0d-c9b2-4ba7-ab21-79785b58203e.png",
            "desc": "Can household energy bills and climate change be reconciled? How would you like politicians to prioritise their decision making and your taxes?",
            "username": "kcorrick",
            "question_count": 16,
            "item_count": 0,
            "end_text": "Thank you!",
            "expire_at": null,
            "geo": null,
            "geo_url": null,
            "geo_info": null,
            "answered": 0.0
        },
        {
            "id": 6,
            "url": "https://api.represent.me/api/question_collections/6/",
            "user_url": "https://api.represent.me/api/users/7/",
            "name": "10 questions to unite a divided Britain. Maybe.",
            "user": {
                "id": 7,
                "username": "eddowding",
                "first_name": "Ed",
                "last_name": "Dowding",
                "url": "https://api.represent.me/api/users/7/",
                "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/profile_pic_7_kD3OzJV.jpg",
                "age": 42,
                "bio": "Eventually, everything will be recognised as priceless.",
                "created_at": "2015-01-31T09:10:43.588000Z",
                "modified_at": "2019-10-12T12:37:33.550710Z",
                "is_deleted": false,
                "last_answer_time": "2019-03-15T11:37:17.678652Z",
                "politician": null,
                "politician_info": null,
                "is_email_verified": true,
                "is_admin_verified": true,
                "is_facebook_verified": true,
                "is_google_verified": true,
                "is_twitter_verified": true,
                "is_linkedin_verified": true,
                "is_stripe_verified": false,
                "verification_count": 7,
                "verification_score": 100,
                "count_questions": 219,
                "count_votes": 2119,
                "count_question_votes": 1925,
                "count_friends": 162,
                "count_comment_votes": 106,
                "count_choice_votes": 194,
                "count_group_memberships": 37,
                "count_following_tags": 18,
                "count_comments": 76,
                "count_following_users": 132,
                "count_followers": 68,
                "karma": 120
            },
            "created_at": "2016-06-29T16:08:45.515334Z",
            "modified_at": "2017-03-08T10:32:37.046505Z",
            "questions_link": "https://api.represent.me/api/questions/?in_collections__parent=6",
            "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/3fdb6c7e-5250-4b5a-8e3b-74ac23724812.png",
            "desc": "Can we still all be friends?! OF COURSE we can! So what shall we get to work on? Take the quiz and find out what everyone agrees on!",
            "username": "eddowding",
            "question_count": 9,
            "item_count": 0,
            "end_text": null,
            "expire_at": null,
            "geo": null,
            "geo_url": null,
            "geo_info": null,
            "answered": 0.0
        }
    ]
}