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=question_count
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=question_count&page=2",
    "previous": null,
    "next_id": 2,
    "previous_id": null,
    "results": [
        {
            "id": 37,
            "url": "https://api.represent.me/api/question_collections/37/",
            "user_url": "https://api.represent.me/api/users/4680/",
            "name": "International Women's Day 2017",
            "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-03-07T19:23:28.559430Z",
            "modified_at": "2017-03-07T19:51:08.457776Z",
            "questions_link": "https://api.represent.me/api/questions/?in_collections__parent=37",
            "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/8191ed4d-5efa-4b7b-a0d6-a42fafa50925.png",
            "desc": "International Women's Day 2017 is asking you to #BeBoldForChange, to help forge a better working world and a more inclusive, gender equal world. Do you think such change is necessary? How bold does it need to be?",
            "username": "kcorrick",
            "question_count": 0,
            "item_count": 0,
            "end_text": "Thank you for getting involved. We will publish the results and send them to International Women's Day. https://www.internationalwomensday.com/",
            "expire_at": null,
            "geo": null,
            "geo_url": null,
            "geo_info": null,
            "answered": 100
        },
        {
            "id": 115,
            "url": "https://api.represent.me/api/question_collections/115/",
            "user_url": "https://api.represent.me/api/users/6775/",
            "name": "Votecrafting the Better Democracy Charter",
            "user": {
                "id": 6775,
                "username": "tdg",
                "first_name": "Tom",
                "last_name": "de Grunwald",
                "url": "https://api.represent.me/api/users/6775/",
                "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/profile_pic_6775.jpg",
                "age": 43,
                "bio": "",
                "created_at": "2016-10-13T14:40:07.369669Z",
                "modified_at": "2019-04-15T15:54:56.150892Z",
                "is_deleted": false,
                "last_answer_time": "2017-07-22T17:01:37.916337Z",
                "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": 0,
                "count_votes": 207,
                "count_question_votes": 177,
                "count_friends": 11,
                "count_comment_votes": 0,
                "count_choice_votes": 30,
                "count_group_memberships": 1,
                "count_following_tags": 1,
                "count_comments": 0,
                "count_following_users": 2,
                "count_followers": 2,
                "karma": 0
            },
            "created_at": "2016-08-22T08:00:11.358604Z",
            "modified_at": "2017-05-17T15:04:23.820093Z",
            "questions_link": "https://api.represent.me/api/questions/?in_collections__parent=115",
            "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": "tdg",
            "question_count": 0,
            "item_count": 0,
            "end_text": null,
            "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": 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": 143,
            "url": "https://api.represent.me/api/question_collections/143/",
            "user_url": "https://api.represent.me/api/users/6561/",
            "name": "kdksks",
            "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": "2018-06-20T15:22:15.305947Z",
            "modified_at": "2018-06-20T15:22:58.167961Z",
            "questions_link": "https://api.represent.me/api/questions/?in_collections__parent=143",
            "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/58056d71-52f7-4b10-8d7e-6069e78e9cd9.png",
            "desc": null,
            "username": "g_laures",
            "question_count": 0,
            "item_count": 0,
            "end_text": "Hello",
            "expire_at": null,
            "geo": null,
            "geo_url": null,
            "geo_info": null,
            "answered": 100
        },
        {
            "id": 142,
            "url": "https://api.represent.me/api/question_collections/142/",
            "user_url": "https://api.represent.me/api/users/20510/",
            "name": "Interesting",
            "user": {
                "id": 20510,
                "username": "sprem",
                "first_name": "",
                "last_name": "",
                "url": "https://api.represent.me/api/users/20510/",
                "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/prof_initials_46fa9ca5f86047689e83de46117309b7.png",
                "age": 24,
                "bio": "",
                "created_at": "2017-12-09T13:55:58.676743Z",
                "modified_at": "2019-04-15T15:52:58.759676Z",
                "is_deleted": false,
                "last_answer_time": "2018-09-22T17:30:02.605552Z",
                "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": 41,
                "count_question_votes": 38,
                "count_friends": 0,
                "count_comment_votes": 0,
                "count_choice_votes": 3,
                "count_group_memberships": 1,
                "count_following_tags": 1,
                "count_comments": 1,
                "count_following_users": 1,
                "count_followers": 0,
                "karma": 0
            },
            "created_at": "2017-12-13T12:26:35.051009Z",
            "modified_at": "2017-12-13T12:26:35.051460Z",
            "questions_link": "https://api.represent.me/api/questions/?in_collections__parent=142",
            "photo": null,
            "desc": null,
            "username": "sprem",
            "question_count": 0,
            "item_count": 0,
            "end_text": null,
            "expire_at": null,
            "geo": null,
            "geo_url": null,
            "geo_info": null,
            "answered": 100
        },
        {
            "id": 17,
            "url": "https://api.represent.me/api/question_collections/17/",
            "user_url": "https://api.represent.me/api/users/6449/",
            "name": "Votecrafting the Better Democracy Charter",
            "user": {
                "id": 6449,
                "username": "eamonnoflaherty2",
                "first_name": "Eamonn",
                "last_name": "O'Flaherty",
                "url": "https://api.represent.me/api/users/6449/",
                "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/profile_pic_6449.jpg",
                "age": 32,
                "bio": "",
                "created_at": "2016-08-09T12:21:14.655952Z",
                "modified_at": "2019-04-15T15:53:31.354679Z",
                "is_deleted": false,
                "last_answer_time": "2016-10-02T01:20:10.642978Z",
                "politician": null,
                "politician_info": null,
                "is_email_verified": true,
                "is_admin_verified": false,
                "is_facebook_verified": true,
                "is_google_verified": true,
                "is_twitter_verified": false,
                "is_linkedin_verified": false,
                "is_stripe_verified": false,
                "verification_count": 4,
                "verification_score": 94,
                "count_questions": 7,
                "count_votes": 104,
                "count_question_votes": 98,
                "count_friends": 0,
                "count_comment_votes": 0,
                "count_choice_votes": 6,
                "count_group_memberships": 3,
                "count_following_tags": 6,
                "count_comments": 1,
                "count_following_users": 3,
                "count_followers": 0,
                "karma": 0
            },
            "created_at": "2016-08-22T08:00:11.358604Z",
            "modified_at": "2016-08-22T08:02:52.918736Z",
            "questions_link": "https://api.represent.me/api/questions/?in_collections__parent=17",
            "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": "eamonnoflaherty2",
            "question_count": 0,
            "item_count": 0,
            "end_text": null,
            "expire_at": null,
            "geo": null,
            "geo_url": null,
            "geo_info": null,
            "answered": 100
        },
        {
            "id": 77,
            "url": "https://api.represent.me/api/question_collections/77/",
            "user_url": "https://api.represent.me/api/users/17655/",
            "name": "The state of universities in South Africa",
            "user": {
                "id": 17655,
                "username": "fritz",
                "first_name": "Fritz",
                "last_name": "Jooste",
                "url": "https://api.represent.me/api/users/17655/",
                "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/prof_initials_2dffc0d15f8d46b1a5d268433ff10c0b.png",
                "age": 30,
                "bio": "",
                "created_at": "2017-05-09T19:18:52.968834Z",
                "modified_at": "2019-04-15T15:52:53.762360Z",
                "is_deleted": false,
                "last_answer_time": "2017-05-09T20:15:29.165997Z",
                "politician": null,
                "politician_info": null,
                "is_email_verified": false,
                "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": 1,
                "verification_score": 70,
                "count_questions": 0,
                "count_votes": 3,
                "count_question_votes": 1,
                "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-05-09T20:12:52.119023Z",
            "modified_at": "2017-05-09T20:12:52.119372Z",
            "questions_link": "https://api.represent.me/api/questions/?in_collections__parent=77",
            "photo": null,
            "desc": null,
            "username": "fritz",
            "question_count": 0,
            "item_count": 0,
            "end_text": null,
            "expire_at": null,
            "geo": null,
            "geo_url": null,
            "geo_info": null,
            "answered": 100
        },
        {
            "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": 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": "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": 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": 21,
                "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
        }
    ]
}