A view to create, edit and delete Question Collections

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

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

to copy someone's collection to yourself:

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

to update order of items:

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

Request body for updating order should looks like this:

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

{
    "count": 70,
    "next": "https://api.represent.me/api/question_collections/?ordering=-desc&page=2",
    "previous": null,
    "next_id": 2,
    "previous_id": null,
    "results": [
        {
            "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": 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": 44,
            "url": "https://api.represent.me/api/question_collections/44/?format=api",
            "user_url": "https://api.represent.me/api/users/10074/?format=api",
            "name": "Richmond Youth Parliament Survey",
            "user": {
                "id": 10074,
                "username": "Max.Pietrangeli",
                "first_name": "Max",
                "last_name": "Pietrangeli",
                "url": "https://api.represent.me/api/users/10074/?format=api",
                "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/profile_pic_10074.jpg",
                "age": 20,
                "bio": "",
                "created_at": "2016-12-30T15:44:04.226460Z",
                "modified_at": "2019-04-15T15:53:43.517368Z",
                "is_deleted": false,
                "last_answer_time": "2017-07-12T18:52:19.554543Z",
                "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": 3,
                "verification_score": 87,
                "count_questions": 22,
                "count_votes": 480,
                "count_question_votes": 446,
                "count_friends": 0,
                "count_comment_votes": 0,
                "count_choice_votes": 34,
                "count_group_memberships": 3,
                "count_following_tags": 7,
                "count_comments": 0,
                "count_following_users": 1,
                "count_followers": 0,
                "karma": 0
            },
            "created_at": "2017-04-05T18:40:43.671675Z",
            "modified_at": "2017-05-13T12:45:45.222576Z",
            "questions_link": "https://api.represent.me/api/questions/?in_collections__parent=44",
            "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/2b9df6fe-44b9-4cdb-bf5b-05d3a582a061.png",
            "desc": "Your Youth Parliament member, Max Pietrangeli, wants to know your views on certain issues to represent you as accurately as possible. Please only take part in this survey if you are 10-18 years old!",
            "username": "Max.Pietrangeli",
            "question_count": 20,
            "item_count": 0,
            "end_text": "Thank you! Please follow me on FB/Twitter to keep up to date with my work as MYP. FB: https://www.facebook.com/MaxPietraMYP. Twitter: https://twitter.com/MaxPietraMYP",
            "expire_at": null,
            "geo": null,
            "geo_url": null,
            "geo_info": null,
            "answered": null
        },
        {
            "id": 152,
            "url": "https://api.represent.me/api/question_collections/152/",
            "user_url": "https://api.represent.me/api/users/20839/",
            "name": "Your work day",
            "user": {
                "id": 20839,
                "username": "alexwilks88",
                "first_name": "Alex",
                "last_name": "",
                "url": "https://api.represent.me/api/users/20839/",
                "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/prof_initials_ac2686f143354de4997ae37388f75da4.png",
                "age": 30,
                "bio": "",
                "created_at": "2019-10-25T11:19:30.507717Z",
                "modified_at": "2019-10-26T12:29:38.680412Z",
                "is_deleted": false,
                "last_answer_time": "2019-10-26T12:29:38.679762Z",
                "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": 1,
                "count_votes": 26,
                "count_question_votes": 22,
                "count_friends": 0,
                "count_comment_votes": 0,
                "count_choice_votes": 4,
                "count_group_memberships": 1,
                "count_following_tags": 1,
                "count_comments": 0,
                "count_following_users": 1,
                "count_followers": 0,
                "karma": 0
            },
            "created_at": "2019-10-26T12:26:19.719762Z",
            "modified_at": "2019-10-26T12:29:33.348924Z",
            "questions_link": "https://api.represent.me/api/questions/?in_collections__parent=152",
            "photo": null,
            "desc": "Work life in London",
            "username": "alexwilks88",
            "question_count": 1,
            "item_count": 1,
            "end_text": null,
            "expire_at": null,
            "geo": null,
            "geo_url": null,
            "geo_info": null,
            "answered": 0.0
        },
        {
            "id": 1,
            "url": "https://api.represent.me/api/question_collections/1/",
            "user_url": "https://api.represent.me/api/users/7/",
            "name": "The Independence Quiz",
            "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-20T06:54:07.274621Z",
                "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": "2016-06-19T16:06:10.532648Z",
            "modified_at": "2017-06-08T14:00:27.197085Z",
            "questions_link": "https://api.represent.me/api/questions/?in_collections__parent=1",
            "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/7b9134a1-76a5-4207-959d-2135e5633dc0.png",
            "desc": "Why should be independent from who, why?",
            "username": "eddowding",
            "question_count": 12,
            "item_count": 0,
            "end_text": null,
            "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/?format=api",
                "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": 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/?format=api",
                "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
        },
        {
            "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": 42,
            "url": "https://api.represent.me/api/question_collections/42/",
            "user_url": "https://api.represent.me/api/users/11061/",
            "name": "Hackney Sera Clean Air Campaign",
            "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-03-29T16:16:03.814827Z",
            "modified_at": "2017-03-29T16:39:49.981967Z",
            "questions_link": "https://api.represent.me/api/questions/?in_collections__parent=42",
            "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/990461d1-df80-4c0f-b934-dda9fc64be5f.png",
            "desc": "We would like to know more about how Hackney residents experience air pollution and how we can all clean up our air.",
            "username": "PollyB",
            "question_count": 3,
            "item_count": 0,
            "end_text": "Thank you! [Click here to find out how clean your air is where you live](https://www.londonair.org.uk/london/asp/AnnualMapsFullScreen.asp?species=NO2&LayerStrength=95).  We will be back in touch to keep you up to date on the campaign",
            "expire_at": null,
            "geo": null,
            "geo_url": null,
            "geo_info": null,
            "answered": 0.0
        }
    ]
}