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=-created_at
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=-created_at&page=2",
    "previous": null,
    "next_id": 2,
    "previous_id": null,
    "results": [
        {
            "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": 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": 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": null
        },
        {
            "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": 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": 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-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": 141,
            "url": "https://api.represent.me/api/question_collections/141/",
            "user_url": "https://api.represent.me/api/users/20439/",
            "name": "Global Challenges Collaboration",
            "user": {
                "id": 20439,
                "username": "perlmutterlabs",
                "first_name": "Aaron",
                "last_name": "Perlmutter",
                "url": "https://api.represent.me/api/users/20439/",
                "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/73bd7fba-e73e-431b-a1e9-a489555f78ed.png",
                "age": 30,
                "bio": "https://perlmutterlabs.com/",
                "created_at": "2017-09-25T17:29:47.230065Z",
                "modified_at": "2019-04-15T15:52:28.948314Z",
                "is_deleted": false,
                "last_answer_time": "2017-10-04T21:51:18.923684Z",
                "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": 43,
                "count_question_votes": 40,
                "count_friends": 0,
                "count_comment_votes": 0,
                "count_choice_votes": 3,
                "count_group_memberships": 2,
                "count_following_tags": 6,
                "count_comments": 0,
                "count_following_users": 4,
                "count_followers": 0,
                "karma": 0
            },
            "created_at": "2017-09-26T12:26:45Z",
            "modified_at": "2017-09-26T16:50:14.655255Z",
            "questions_link": "https://api.represent.me/api/questions/?in_collections__parent=141",
            "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/5a9c9346-bb8b-4482-9ba4-5bb9803ae155.png",
            "desc": "This is a survey for both members of the Global Challenges Collaboration and non-member supporters. Our public announcements will come from this Facebook page: https://www.facebook.com/GlobalChallengesCollaboration/ If you are a member of the Global Challenges Collaboration, you should also be a member of this Facebook group: https://www.facebook.com/groups/GlobalChallengesCollaboration/",
            "username": "perlmutterlabs",
            "question_count": 6,
            "item_count": 6,
            "end_text": "Thank you! Feel free to follow us on Facebook: https://www.facebook.com/GlobalChallengesCollaboration/",
            "expire_at": null,
            "geo": null,
            "geo_url": null,
            "geo_info": null,
            "answered": 0.0
        },
        {
            "id": 132,
            "url": "https://api.represent.me/api/question_collections/132/",
            "user_url": "https://api.represent.me/api/users/7/",
            "name": "The General Election: Did you get what you wanted?",
            "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-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": "2017-06-09T16:16:24.133009Z",
            "modified_at": "2017-06-12T07:02:55.049819Z",
            "questions_link": "https://api.represent.me/api/questions/?in_collections__parent=132",
            "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/68e1dcb2-95e3-4e6c-9c07-55cc2d2e0eac.png",
            "desc": "The Conservatives have buddied up with the DUP. Is that what you wanted?",
            "username": "eddowding",
            "question_count": 12,
            "item_count": 12,
            "end_text": "Thanks! Here's hoping we don't have to do that all again soon, eh?!",
            "expire_at": null,
            "geo": null,
            "geo_url": null,
            "geo_info": null,
            "answered": 0.0
        },
        {
            "id": 131,
            "url": "https://api.represent.me/api/question_collections/131/",
            "user_url": "https://api.represent.me/api/users/41/",
            "name": "When do we go nuclear?",
            "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-06-07T12:08:24.726859Z",
            "modified_at": "2017-06-07T13:27:23.275175Z",
            "questions_link": "https://api.represent.me/api/questions/?in_collections__parent=131",
            "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/10db4869-58c0-46e1-8e34-c236eb09670d.png",
            "desc": "Nuclear weapons have been an unexamined part of the status quo for a long time. Their advocates say that they offer us security and clout on the world stage. Their detractors say that they are an unneccesary cost, a safety risk, and a moral evil.\n\nIf we are to continue to have these weapons as part of our arsenal it is important that we know exactly under what conditions we are comfortable with mass killings, ecosystem destruction, global destabilisation and endangering our own communities.\n\nThis is an open survey so feel free to add questions ( I have a bias that would be good to overcome) - or ask me to.",
            "username": "gustavo montesdeoca_montes de",
            "question_count": 7,
            "item_count": 7,
            "end_text": "If we are going to have these weapons of mass destruction it is vital that we know under what conditions we are comfortable with using them. They have been taken for granted for a long time. Share this with your friends and that uncle you always disagree with.",
            "expire_at": null,
            "geo": null,
            "geo_url": null,
            "geo_info": null,
            "answered": 0.0
        },
        {
            "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
        }
    ]
}