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=name
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=name&page=2",
    "previous": null,
    "next_id": 2,
    "previous_id": null,
    "results": [
        {
            "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": 41,
                "bio": "Eventually, everything will be recognised as priceless.",
                "created_at": "2015-01-31T09:10:43.588000Z",
                "modified_at": "2019-07-13T20:17:07.348323Z",
                "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
        },
        {
            "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": "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-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
        },
        {
            "id": 148,
            "url": "https://api.represent.me/api/question_collections/148/",
            "user_url": "https://api.represent.me/api/users/6561/",
            "name": "Bernie Supporter Election Decisions",
            "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": 31,
                "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": "2016-11-10T20:41:28.101645Z",
            "modified_at": "2018-09-25T18:29:39.088635Z",
            "questions_link": "https://api.represent.me/api/questions/?in_collections__parent=148",
            "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/6d2655ca-00fe-4290-b48b-2c96ec3b5f24.png",
            "desc": "To better understand how Bernie supporters during the primary engaged in the 2016 Presidential election.",
            "username": "g_laures",
            "question_count": 2,
            "item_count": 0,
            "end_text": "To better understand how Bernie supporters during the primary engaged in the 2016 Presidential election.",
            "expire_at": null,
            "geo": null,
            "geo_url": null,
            "geo_info": null,
            "answered": 0.0
        },
        {
            "id": 27,
            "url": "https://api.represent.me/api/question_collections/27/",
            "user_url": "https://api.represent.me/api/users/7470/",
            "name": "Bernie Supporter Election Decisions",
            "user": {
                "id": 7470,
                "username": "joepbreslin",
                "first_name": "Joe",
                "last_name": "Breslin",
                "url": "https://api.represent.me/api/users/7470/",
                "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/prof_initials_9eae8d92d8b8424ebcbf274546bf5686.png",
                "age": 31,
                "bio": "",
                "created_at": "2016-11-10T20:33:36.989604Z",
                "modified_at": "2019-04-15T15:51:46.732295Z",
                "is_deleted": false,
                "last_answer_time": "2016-11-19T22:29:20.786232Z",
                "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": 2,
                "count_votes": 29,
                "count_question_votes": 24,
                "count_friends": 0,
                "count_comment_votes": 0,
                "count_choice_votes": 5,
                "count_group_memberships": 2,
                "count_following_tags": 9,
                "count_comments": 0,
                "count_following_users": 2,
                "count_followers": 2,
                "karma": 0
            },
            "created_at": "2016-11-10T20:41:28.101645Z",
            "modified_at": "2017-03-08T10:32:40.270577Z",
            "questions_link": "https://api.represent.me/api/questions/?in_collections__parent=27",
            "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/6d2655ca-00fe-4290-b48b-2c96ec3b5f24.png",
            "desc": "To better understand how Bernie supporters during the primary engaged in the 2016 Presidential election.",
            "username": "joepbreslin",
            "question_count": 2,
            "item_count": 0,
            "end_text": "To better understand how Bernie supporters during the primary engaged in the 2016 Presidential election.",
            "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": 38,
                "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": 146,
            "url": "https://api.represent.me/api/question_collections/146/",
            "user_url": "https://api.represent.me/api/users/13242/",
            "name": "Brexometer",
            "user": {
                "id": 13242,
                "username": "AdamSpiers",
                "first_name": "Adam",
                "last_name": "Spiers",
                "url": "https://api.represent.me/api/users/13242/",
                "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/profile_pic_13242.jpg",
                "age": 43,
                "bio": "",
                "created_at": "2017-01-26T00:16:08.518770Z",
                "modified_at": "2019-04-15T15:52:58.835064Z",
                "is_deleted": false,
                "last_answer_time": "2018-10-03T18:58:50.601229Z",
                "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": 12,
                "count_votes": 88,
                "count_question_votes": 67,
                "count_friends": 0,
                "count_comment_votes": 12,
                "count_choice_votes": 21,
                "count_group_memberships": 2,
                "count_following_tags": 12,
                "count_comments": 0,
                "count_following_users": 2,
                "count_followers": 0,
                "karma": 0
            },
            "created_at": "2018-08-22T12:36:34.746076Z",
            "modified_at": "2018-08-22T13:25:30.141749Z",
            "questions_link": "https://api.represent.me/api/questions/?in_collections__parent=146",
            "photo": null,
            "desc": "Do you know where your opinion on Brexit really lies, and how it aligns with other people's?",
            "username": "AdamSpiers",
            "question_count": 8,
            "item_count": 8,
            "end_text": null,
            "expire_at": null,
            "geo": null,
            "geo_url": null,
            "geo_info": null,
            "answered": 0.0
        },
        {
            "id": 149,
            "url": "https://api.represent.me/api/question_collections/149/",
            "user_url": "https://api.represent.me/api/users/13242/",
            "name": "Brexometer",
            "user": {
                "id": 13242,
                "username": "AdamSpiers",
                "first_name": "Adam",
                "last_name": "Spiers",
                "url": "https://api.represent.me/api/users/13242/",
                "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/profile_pic_13242.jpg",
                "age": 43,
                "bio": "",
                "created_at": "2017-01-26T00:16:08.518770Z",
                "modified_at": "2019-04-15T15:52:58.835064Z",
                "is_deleted": false,
                "last_answer_time": "2018-10-03T18:58:50.601229Z",
                "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": 12,
                "count_votes": 88,
                "count_question_votes": 67,
                "count_friends": 0,
                "count_comment_votes": 12,
                "count_choice_votes": 21,
                "count_group_memberships": 2,
                "count_following_tags": 12,
                "count_comments": 0,
                "count_following_users": 2,
                "count_followers": 0,
                "karma": 0
            },
            "created_at": "2018-10-10T19:30:18.835471Z",
            "modified_at": "2018-10-10T19:54:08.551213Z",
            "questions_link": "https://api.represent.me/api/questions/?in_collections__parent=149",
            "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/e1e4b7ad-4b73-44d2-8dd9-cd41369ca25f.png",
            "desc": "This is the online version of [the Brexitometers which have been held in high streets up and down the country](https://www.brexitometerhq.co.uk). Let's find out what the country really thinks about Brexit!",
            "username": "AdamSpiers",
            "question_count": 5,
            "item_count": 5,
            "end_text": "Thanks very much for participating!  Please visit [bestforbritain.org](https://www.bestforbritain.org/) to find out the latest on Brexit and get involved!",
            "expire_at": null,
            "geo": null,
            "geo_url": null,
            "geo_info": null,
            "answered": 0.0
        },
        {
            "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": null
        },
        {
            "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": 78,
            "url": "https://api.represent.me/api/question_collections/78/",
            "user_url": "https://api.represent.me/api/users/4680/",
            "name": "Education, education, education",
            "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-10T13:28:12Z",
            "modified_at": "2017-05-10T15:50:44.585535Z",
            "questions_link": "https://api.represent.me/api/questions/?in_collections__parent=78",
            "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/11854fff-a555-4a20-965f-4a3d47143caa.png",
            "desc": "Labour and Liberal Democrats have made general election funding promises to boost spending on schools in England. The Conservatives say that record amounts of money are going into education. Is more funding enough? What's your vision for education?",
            "username": "kcorrick",
            "question_count": 14,
            "item_count": 0,
            "end_text": "Thank you!",
            "expire_at": null,
            "geo": null,
            "geo_url": null,
            "geo_info": null,
            "answered": 0.0
        }
    ]
}