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

{
    "count": 70,
    "next": "https://api.represent.me/api/question_collections/?ordering=-geo&page=2",
    "previous": null,
    "next_id": 2,
    "previous_id": null,
    "results": [
        {
            "id": 46,
            "url": "https://api.represent.me/api/question_collections/46/",
            "user_url": "https://api.represent.me/api/users/11061/",
            "name": "Clean Air",
            "user": {
                "id": 11061,
                "username": "PollyB",
                "first_name": "Polly",
                "last_name": "Billington",
                "url": "https://api.represent.me/api/users/11061/",
                "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/prof_initials_0d7ab861ea6c467fbd022478d427d18e.png",
                "age": 51,
                "bio": "",
                "created_at": "2017-01-11T16:43:01.995756Z",
                "modified_at": "2019-04-15T15:53:10.606328Z",
                "is_deleted": false,
                "last_answer_time": "2017-04-17T10:24:41.843997Z",
                "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": 6,
                "count_votes": 123,
                "count_question_votes": 105,
                "count_friends": 0,
                "count_comment_votes": 0,
                "count_choice_votes": 18,
                "count_group_memberships": 1,
                "count_following_tags": 10,
                "count_comments": 0,
                "count_following_users": 1,
                "count_followers": 1,
                "karma": 0
            },
            "created_at": "2017-04-17T10:33:25.962951Z",
            "modified_at": "2017-04-17T17:05:35.014037Z",
            "questions_link": "https://api.represent.me/api/questions/?in_collections__parent=46",
            "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/1cd48307-7a16-4bf9-8759-317ab1a04634.png",
            "desc": "How does dirty air affect you and what can we do to clean up our air? We are a bunch of campaigners keen to gather support for action to clean up our air, and we think we will need a law to make it a reality - but we also need to know how it affects you.",
            "username": "PollyB",
            "question_count": 5,
            "item_count": 0,
            "end_text": "Thank you for letting us know what you think can be done about our dirty air. if you want to know how dirty the air is where you live or work or go to school, click on the link [here].(\nhttps://www.londonair.org.uk/london/asp/AnnualMapsFullScreen.asp?species=NO2&LayerStrength=95).",
            "expire_at": null,
            "geo": null,
            "geo_url": null,
            "geo_info": null,
            "answered": 0.0
        },
        {
            "id": 45,
            "url": "https://api.represent.me/api/question_collections/45/",
            "user_url": "https://api.represent.me/api/users/579/",
            "name": "Supporter Voice: Dignity platform",
            "user": {
                "id": 579,
                "username": "lukeflegg",
                "first_name": "Luke",
                "last_name": "Flegg",
                "url": "https://api.represent.me/api/users/579/",
                "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/profile_pic_579_WrrtVpy.jpg",
                "age": 33,
                "bio": "",
                "created_at": "2015-05-23T21:06:15Z",
                "modified_at": "2019-11-15T23:59:52.912013Z",
                "is_deleted": false,
                "last_answer_time": "2019-03-01T15:19:17.490536Z",
                "politician": null,
                "politician_info": null,
                "is_email_verified": true,
                "is_admin_verified": false,
                "is_facebook_verified": true,
                "is_google_verified": false,
                "is_twitter_verified": false,
                "is_linkedin_verified": false,
                "is_stripe_verified": false,
                "verification_count": 2,
                "verification_score": 77,
                "count_questions": 25,
                "count_votes": 691,
                "count_question_votes": 663,
                "count_friends": 0,
                "count_comment_votes": 47,
                "count_choice_votes": 28,
                "count_group_memberships": 14,
                "count_following_tags": 11,
                "count_comments": 93,
                "count_following_users": 16,
                "count_followers": 23,
                "karma": 160
            },
            "created_at": "2017-04-15T16:56:58.497517Z",
            "modified_at": "2017-04-16T15:19:51.617035Z",
            "questions_link": "https://api.represent.me/api/questions/?in_collections__parent=45",
            "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/c141cadf-f855-4c18-a01c-cbcb621c71f8.png",
            "desc": "Don't just raise money for Dignity platform using www.Dignityplatform.org, have a voice in how we spend your money and operate.\n\nWe believe charities and causes you're passionate about should listen to your ideas and proposals, not just take your money, so we're leading by example - go ahead and propose, question, argue a stance, and vote on any actionable idea using this platform - we'll respond to at least the most popular proposals (and we intend to implement some of the most insightful ideas we receive here).\n\nWe'll be rolling out this Supporter Voice feature for each and every cause on Dignity platform.\nCall Luke if you have any questions 07851054199 t.me/lflegg\nor get my on Telegram http://t.me/lflegg",
            "username": "lukeflegg",
            "question_count": 1,
            "item_count": 0,
            "end_text": "Thanks for being more than just a wallet.\n\n**Dignity platform**\nGiving by Doing.",
            "expire_at": null,
            "geo": null,
            "geo_url": null,
            "geo_info": null,
            "answered": 0.0
        },
        {
            "id": 43,
            "url": "https://api.represent.me/api/question_collections/43/",
            "user_url": "https://api.represent.me/api/users/7/",
            "name": "Undivided - The Big Issues",
            "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-11-16T00:07:11.210606Z",
                "is_deleted": false,
                "last_answer_time": "2019-10-26T20:41:22.076275Z",
                "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": 2120,
                "count_question_votes": 1925,
                "count_friends": 162,
                "count_comment_votes": 106,
                "count_choice_votes": 195,
                "count_group_memberships": 37,
                "count_following_tags": 18,
                "count_comments": 76,
                "count_following_users": 132,
                "count_followers": 68,
                "karma": 120
            },
            "created_at": "2017-04-04T13:27:55Z",
            "modified_at": "2017-04-06T18:24:23.050542Z",
            "questions_link": "https://api.represent.me/api/questions/?in_collections__parent=43",
            "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/94951e8f-1839-4073-b0b6-515198dec3f3.png",
            "desc": "Help us take your demands to next level and open even more doors for young people.",
            "username": "eddowding",
            "question_count": 17,
            "item_count": 0,
            "end_text": "Thank you so much for doing that! Please share this with friends - it really helps!",
            "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": "",
                "created_at": "2016-01-03T09:29:59Z",
                "modified_at": "2019-10-31T11:13:03.014276Z",
                "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": 52,
            "url": "https://api.represent.me/api/question_collections/52/",
            "user_url": "https://api.represent.me/api/users/4680/",
            "name": "#GE2017 BIG ISSUES",
            "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": "",
                "created_at": "2016-01-03T09:29:59Z",
                "modified_at": "2019-10-31T11:13:03.014276Z",
                "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-24T17:27:55Z",
            "modified_at": "2017-05-19T15:43:15.908935Z",
            "questions_link": "https://api.represent.me/api/questions/?in_collections__parent=52",
            "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/a00b1b26-db76-4f0b-8dd5-265e121ee9b0.png",
            "desc": "The parties all have their manifestos, but what's actually important to YOU?  \r\n\r\nHere are key issues from across the political spectrum to help you make up your own minds.",
            "username": "kcorrick",
            "question_count": 49,
            "item_count": 0,
            "end_text": "Thank you for sharing what you care about. Please share these questions with prospective candidates in your constituency or political party.",
            "expire_at": null,
            "geo": null,
            "geo_url": null,
            "geo_info": null,
            "answered": 0.0
        },
        {
            "id": 119,
            "url": "https://api.represent.me/api/question_collections/119/",
            "user_url": "https://api.represent.me/api/users/17663/",
            "name": "Conservative Party General Election 2017 manifesto - key points",
            "user": {
                "id": 17663,
                "username": "conservativepartypolicies",
                "first_name": "Conservative",
                "last_name": "Party Policies",
                "url": "https://api.represent.me/api/users/17663/",
                "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/f50ad4dd-8c9d-42a4-be69-5b6cdfeac8f0.png",
                "age": 72,
                "bio": "The Conservative Party isn't on Represent yet. These answers are based on policies and communications by the party. Ask the party to join by Tweeting @conservatives.",
                "created_at": "2017-05-10T17:52:47Z",
                "modified_at": "2019-04-15T15:54:47.403180Z",
                "is_deleted": false,
                "last_answer_time": "2017-06-01T16:16:36.823692Z",
                "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": 13,
                "count_votes": 106,
                "count_question_votes": 93,
                "count_friends": 0,
                "count_comment_votes": 0,
                "count_choice_votes": 13,
                "count_group_memberships": 1,
                "count_following_tags": 1,
                "count_comments": 0,
                "count_following_users": 1,
                "count_followers": 10,
                "karma": 0
            },
            "created_at": "2017-05-18T13:26:01.561614Z",
            "modified_at": "2017-05-18T18:19:03.988170Z",
            "questions_link": "https://api.represent.me/api/questions/?in_collections__parent=119",
            "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/dd88c243-aed5-4050-8a70-0d7b00e4a71b.png",
            "desc": "What do you think of their plans?",
            "username": "conservativepartypolicies",
            "question_count": 22,
            "item_count": 0,
            "end_text": "Thank you.",
            "expire_at": null,
            "geo": null,
            "geo_url": null,
            "geo_info": null,
            "answered": 0.0
        },
        {
            "id": 118,
            "url": "https://api.represent.me/api/question_collections/118/",
            "user_url": "https://api.represent.me/api/users/4680/",
            "name": "Women's equality",
            "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": "",
                "created_at": "2016-01-03T09:29:59Z",
                "modified_at": "2019-10-31T11:13:03.014276Z",
                "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-18T10:39:47.524380Z",
            "modified_at": "2017-05-24T14:09:11.456111Z",
            "questions_link": "https://api.represent.me/api/questions/?in_collections__parent=118",
            "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/c48020d8-fe28-40c1-9107-d26c52e84d08.png",
            "desc": "Where do you stand?",
            "username": "kcorrick",
            "question_count": 16,
            "item_count": 16,
            "end_text": "Thank you",
            "expire_at": null,
            "geo": null,
            "geo_url": null,
            "geo_info": null,
            "answered": 0.0
        },
        {
            "id": 39,
            "url": "https://api.represent.me/api/question_collections/39/",
            "user_url": "https://api.represent.me/api/users/16698/",
            "name": "Future of civil partnerships",
            "user": {
                "id": 16698,
                "username": "CivilPartnerships",
                "first_name": "Equal Civil Partnerships",
                "last_name": "Campaign",
                "url": "https://api.represent.me/api/users/16698/",
                "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/2bb93deb-d273-496e-b1fe-420e5b93d2f3.png",
                "age": 4,
                "bio": "We are campaigning for civil partnerships to be available for all couples, regardless of gender.",
                "created_at": "2017-03-11T12:20:45.433418Z",
                "modified_at": "2019-04-15T15:52:29.264097Z",
                "is_deleted": false,
                "last_answer_time": "2017-03-12T11:47:26.754324Z",
                "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": 2,
                "count_votes": 21,
                "count_question_votes": 19,
                "count_friends": 0,
                "count_comment_votes": 0,
                "count_choice_votes": 2,
                "count_group_memberships": 1,
                "count_following_tags": 1,
                "count_comments": 0,
                "count_following_users": 1,
                "count_followers": 0,
                "karma": 0
            },
            "created_at": "2017-03-12T12:40:10.106126Z",
            "modified_at": "2017-03-12T13:05:22.719276Z",
            "questions_link": "https://api.represent.me/api/questions/?in_collections__parent=39",
            "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/a71dbcb2-41b8-497c-b808-f9c1522e95ef.png",
            "desc": "On February 21st the Court of Appeal ruled that the current law regarding civil partnerships - that they are available to same-sex couples but not mixed-sex couples - cannot continue indefinitely. \n\nThe government now has two options available: open up civil partnerships to all couples  or scrap them so that marriage is the only option for everyone, whether they are in a mixed-sex or same-sex relationship.\n\nIn making that decision, the government says it needs to see if there is genuine demand from mixed-sex couples to be able to get a civil partnership. \n\nOur position is clear but we would love to hear what other people thing - is this a right you think mixed-sex couples should have or would it be simpler to scrap civil partnerships as the government seems inclined to do?",
            "username": "CivilPartnerships",
            "question_count": 0,
            "item_count": 0,
            "end_text": "Thank you so much for taking the time to complete this survey.",
            "expire_at": null,
            "geo": null,
            "geo_url": null,
            "geo_info": null,
            "answered": 100
        },
        {
            "id": 40,
            "url": "https://api.represent.me/api/question_collections/40/",
            "user_url": "https://api.represent.me/api/users/7/",
            "name": "Scottish Independence",
            "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-11-16T00:07:11.210606Z",
                "is_deleted": false,
                "last_answer_time": "2019-10-26T20:41:22.076275Z",
                "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": 2120,
                "count_question_votes": 1925,
                "count_friends": 162,
                "count_comment_votes": 106,
                "count_choice_votes": 195,
                "count_group_memberships": 37,
                "count_following_tags": 18,
                "count_comments": 76,
                "count_following_users": 132,
                "count_followers": 68,
                "karma": 120
            },
            "created_at": "2017-03-13T12:14:09.543261Z",
            "modified_at": "2017-03-13T19:32:16.883161Z",
            "questions_link": "https://api.represent.me/api/questions/?in_collections__parent=40",
            "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/661be732-c6c5-4e6d-ad17-684bd3f9f724.png",
            "desc": "The Scottish leader, Nicola Sturgeon, has requested a second referendum on Scottish Independence. What are your views?",
            "username": "eddowding",
            "question_count": 0,
            "item_count": 0,
            "end_text": "Thanks for taking part! Please share and have a look at the results!",
            "expire_at": null,
            "geo": null,
            "geo_url": null,
            "geo_info": null,
            "answered": 100
        },
        {
            "id": 57,
            "url": "https://api.represent.me/api/question_collections/57/",
            "user_url": "https://api.represent.me/api/users/4680/",
            "name": "A manifesto for data",
            "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": "",
                "created_at": "2016-01-03T09:29:59Z",
                "modified_at": "2019-10-31T11:13:03.014276Z",
                "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-30T15:44:37.545969Z",
            "modified_at": "2017-05-14T15:39:55.709379Z",
            "questions_link": "https://api.represent.me/api/questions/?in_collections__parent=57",
            "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/3fc18f8a-085f-482a-9f0b-e35726d861cf.png",
            "desc": "What should the government's approach to data be? Data is part of our every day lives from how we communicate and travel to work to our health and what we eat. It can be used for good or to harm. \n\nBased on work by Jeni Tennison, CEO of the Open Data Institute.",
            "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
        }
    ]
}