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

{
    "count": 69,
    "next": null,
    "previous": "https://api.represent.me/api/question_collections/?page=6",
    "next_id": null,
    "previous_id": 6,
    "results": [
        {
            "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": 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": 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": 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": "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": 150,
            "url": "https://api.represent.me/api/question_collections/150/",
            "user_url": "https://api.represent.me/api/users/6561/",
            "name": "just for helping poeple",
            "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": "2018-10-12T14:58:39.209499Z",
            "modified_at": "2018-10-12T15:00:22.867945Z",
            "questions_link": "https://api.represent.me/api/questions/?in_collections__parent=150",
            "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/fc19d5e5-1ca2-4d0b-8759-a82f4c6b3a3f.png",
            "desc": "not too loong because i do not speak english not too loong because i do not speak english not too loong because i do not speak english not too loong because i do not speak english not too loong because i do not speak english not too loong because i do not s i do not speak english not too loong because i do not speak english not too loong because i do not speak english",
            "username": "g_laures",
            "question_count": 3,
            "item_count": 3,
            "end_text": "not too loong because i do not speak english not too loong because i do not speak english not too loong because i do not speak english not too loong because i do not speak english not too loong because i do not speak english not too loong because i do not sp",
            "expire_at": null,
            "geo": null,
            "geo_url": null,
            "geo_info": null,
            "answered": 0.0
        },
        {
            "id": 145,
            "url": "https://api.represent.me/api/question_collections/145/",
            "user_url": "https://api.represent.me/api/users/20628/",
            "name": "teste",
            "user": {
                "id": 20628,
                "username": "bseri",
                "first_name": "Bruno",
                "last_name": "",
                "url": "https://api.represent.me/api/users/20628/",
                "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/prof_initials_63c3ff2d010d4cf8bb28a76d5fbc1bb6.png",
                "age": 20,
                "bio": "",
                "created_at": "2018-07-24T22:21:17.862326Z",
                "modified_at": "2019-04-15T15:52:37.782124Z",
                "is_deleted": false,
                "last_answer_time": "2018-07-24T22:28:04.498000Z",
                "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": 26,
                "count_question_votes": 23,
                "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": 1,
                "count_followers": 0,
                "karma": 0
            },
            "created_at": "2018-07-24T22:30:32.515081Z",
            "modified_at": "2018-07-24T22:30:32.515705Z",
            "questions_link": "https://api.represent.me/api/questions/?in_collections__parent=145",
            "photo": null,
            "desc": "hello world",
            "username": "bseri",
            "question_count": 0,
            "item_count": 0,
            "end_text": null,
            "expire_at": null,
            "geo": null,
            "geo_url": null,
            "geo_info": null,
            "answered": 100
        },
        {
            "id": 130,
            "url": "https://api.represent.me/api/question_collections/130/",
            "user_url": "https://api.represent.me/api/users/17763/",
            "name": "UKIP general election 2017 manifesto",
            "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-06-06T06:02:21Z",
            "modified_at": "2017-06-06T11:36:27.526493Z",
            "questions_link": "https://api.represent.me/api/questions/?in_collections__parent=130",
            "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/447146ea-64ff-4084-a5e0-5e9ca6a50a59.png",
            "desc": "Find out how your values compare with key points from the UK Independence Party manifesto.",
            "username": "questionsbyrepresent",
            "question_count": 18,
            "item_count": 18,
            "end_text": "Thank you.",
            "expire_at": null,
            "geo": null,
            "geo_url": null,
            "geo_info": null,
            "answered": null
        },
        {
            "id": 137,
            "url": "https://api.represent.me/api/question_collections/137/",
            "user_url": "https://api.represent.me/api/users/6561/",
            "name": "Votecrafting the Better Democracy Charter",
            "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-08-22T08:00:11.358604Z",
            "modified_at": "2017-06-25T10:39:54.178504Z",
            "questions_link": "https://api.represent.me/api/questions/?in_collections__parent=137",
            "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/01105b04-f8b4-4a9f-b456-329ab6f1ac6a.png",
            "desc": "The Better Democracy Charter movement seeks to formulate a document which can be used to dramaticaly improve our democratic system of government.\n\n\nWe'll be collaborating, drafting and providing feedback on possible inclusions into it, for it's ratification in late 2016.\n\n\nIdeas are to be neutral, concise, fluent and ideally expressed as a positive (ie. \"we want to do this\" rather than \"we don't want to do this\".)",
            "username": "g_laures",
            "question_count": 0,
            "item_count": 0,
            "end_text": null,
            "expire_at": null,
            "geo": null,
            "geo_url": null,
            "geo_info": null,
            "answered": 100
        },
        {
            "id": 122,
            "url": "https://api.represent.me/api/question_collections/122/",
            "user_url": "https://api.represent.me/api/users/17763/",
            "name": "What should guide a coalition?",
            "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-09T09:10:45.188385Z",
            "questions_link": "https://api.represent.me/api/questions/?in_collections__parent=122",
            "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/politicalparties2.jpg",
            "desc": "Questions are based on the party manifestos - whoever wins, we'll anonymously publish the results and share with MPs, press, and more!",
            "username": "questionsbyrepresent",
            "question_count": 121,
            "item_count": 136,
            "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": null
        },
        {
            "id": 128,
            "url": "https://api.represent.me/api/question_collections/128/",
            "user_url": "https://api.represent.me/api/users/18487/",
            "name": "Gloucester's Say",
            "user": {
                "id": 18487,
                "username": "DanielJosephWoolf",
                "first_name": "Daniel",
                "last_name": "Woolf",
                "url": "https://api.represent.me/api/users/18487/",
                "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/profile_pic_18487.jpg",
                "age": 35,
                "bio": "",
                "created_at": "2017-06-04T18:04:35.666466Z",
                "modified_at": "2019-04-15T15:54:58.880361Z",
                "is_deleted": false,
                "last_answer_time": "2017-06-05T23:18:39.862540Z",
                "politician": 1471,
                "politician_info": {
                    "id": 1471,
                    "ID": null,
                    "name": "Daniel Woolf",
                    "sort_name": "",
                    "email": "woolfman84@hotmail.co.uk",
                    "twitter": "@danielwoolfUKIP",
                    "facebook": "",
                    "group": "UKIP",
                    "group_id": "",
                    "area_id": "45222",
                    "area": "Gloucester",
                    "chamber": "",
                    "term": "",
                    "start_date": "2017",
                    "end_date": null,
                    "image": null,
                    "gender": "",
                    "country": "59",
                    "type": "candidate",
                    "linkedin": null,
                    "facebook_page": "https://www.facebook.com/UKIPDanielWoolf/",
                    "fundraising_page": null,
                    "cv": null,
                    "statement": "Standing to be Gloucester's voice in Westminster , not Westminster's voice in Gloucester. Only Leave candidate, only under 35 candidate, only Ethnic candidate"
                },
                "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": 0,
                "count_votes": 251,
                "count_question_votes": 214,
                "count_friends": 0,
                "count_comment_votes": 0,
                "count_choice_votes": 37,
                "count_group_memberships": 1,
                "count_following_tags": 1,
                "count_comments": 0,
                "count_following_users": 1,
                "count_followers": 4,
                "karma": 0
            },
            "created_at": "2017-06-05T23:22:39.594025Z",
            "modified_at": "2017-06-05T23:27:37.094718Z",
            "questions_link": "https://api.represent.me/api/questions/?in_collections__parent=128",
            "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/1685d3b9-09d9-4fd4-ab14-809ded8e2bc4.png",
            "desc": "People of Gloucester get to represent your views",
            "username": "DanielJosephWoolf",
            "question_count": 25,
            "item_count": 25,
            "end_text": "Thank you for your time , I will do my best to represent your views",
            "expire_at": null,
            "geo": null,
            "geo_url": null,
            "geo_info": null,
            "answered": 0.0
        }
    ]
}