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=photo
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=photo&page=2",
    "previous": null,
    "next_id": 2,
    "previous_id": null,
    "results": [
        {
            "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": 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": 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
        },
        {
            "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": 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-09-10T19:24:50.789204Z",
                "is_deleted": false,
                "last_answer_time": "2018-10-03T18:58:50.601229Z",
                "politician": null,
                "politician_info": null,
                "is_email_verified": true,
                "is_admin_verified": false,
                "is_facebook_verified": true,
                "is_google_verified": false,
                "is_twitter_verified": false,
                "is_linkedin_verified": false,
                "is_stripe_verified": false,
                "verification_count": 2,
                "verification_score": 77,
                "count_questions": 12,
                "count_votes": 88,
                "count_question_votes": 67,
                "count_friends": 0,
                "count_comment_votes": 12,
                "count_choice_votes": 21,
                "count_group_memberships": 2,
                "count_following_tags": 12,
                "count_comments": 0,
                "count_following_users": 2,
                "count_followers": 0,
                "karma": 0
            },
            "created_at": "2018-08-22T12:36:34.746076Z",
            "modified_at": "2018-08-22T13:25:30.141749Z",
            "questions_link": "https://api.represent.me/api/questions/?in_collections__parent=146",
            "photo": null,
            "desc": "Do you know where your opinion on Brexit really lies, and how it aligns with other people's?",
            "username": "AdamSpiers",
            "question_count": 8,
            "item_count": 8,
            "end_text": null,
            "expire_at": null,
            "geo": null,
            "geo_url": null,
            "geo_info": null,
            "answered": 0.0
        },
        {
            "id": 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": 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": 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": 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": 39,
                "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": 78,
            "url": "https://api.represent.me/api/question_collections/78/",
            "user_url": "https://api.represent.me/api/users/4680/",
            "name": "Education, education, education",
            "user": {
                "id": 4680,
                "username": "kcorrick",
                "first_name": "Kathryn",
                "last_name": "Corrick",
                "url": "https://api.represent.me/api/users/4680/",
                "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/profile_pic_4680_R4815ev.jpg",
                "age": 45,
                "bio": "",
                "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-10T13:28:12Z",
            "modified_at": "2017-05-10T15:50:44.585535Z",
            "questions_link": "https://api.represent.me/api/questions/?in_collections__parent=78",
            "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/11854fff-a555-4a20-965f-4a3d47143caa.png",
            "desc": "Labour and Liberal Democrats have made general election funding promises to boost spending on schools in England. The Conservatives say that record amounts of money are going into education. Is more funding enough? What's your vision for education?",
            "username": "kcorrick",
            "question_count": 14,
            "item_count": 0,
            "end_text": "Thank you!",
            "expire_at": null,
            "geo": null,
            "geo_url": null,
            "geo_info": null,
            "answered": 0.0
        }
    ]
}