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=-modified_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=-modified_at&page=2",
    "previous": null,
    "next_id": 2,
    "previous_id": null,
    "results": [
        {
            "id": 151,
            "url": "https://api.represent.me/api/question_collections/151/",
            "user_url": "https://api.represent.me/api/users/6561/",
            "name": "Energy pricing: should it be costing the earth?",
            "user": {
                "id": 6561,
                "username": "g_laures",
                "first_name": "Laures",
                "last_name": "GANDONOU",
                "url": "https://api.represent.me/api/users/6561/",
                "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/prof_initials_1839db141fd24cb29e7cebb61947eabb.png",
                "age": 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": "2017-05-09T13:57:34.372457Z",
            "modified_at": "2018-11-21T12:40:18.989772Z",
            "questions_link": "https://api.represent.me/api/questions/?in_collections__parent=151",
            "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/48250a0d-c9b2-4ba7-ab21-79785b58203e.png",
            "desc": "Can household energy bills and climate change be reconciled? How would you like politicians to prioritise their decision making and your taxes?",
            "username": "g_laures",
            "question_count": 16,
            "item_count": 0,
            "end_text": "Thank you!",
            "expire_at": null,
            "geo": null,
            "geo_url": null,
            "geo_info": null,
            "answered": 0.0
        },
        {
            "id": 150,
            "url": "https://api.represent.me/api/question_collections/150/",
            "user_url": "https://api.represent.me/api/users/6561/",
            "name": "just for helping poeple",
            "user": {
                "id": 6561,
                "username": "g_laures",
                "first_name": "Laures",
                "last_name": "GANDONOU",
                "url": "https://api.represent.me/api/users/6561/",
                "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/prof_initials_1839db141fd24cb29e7cebb61947eabb.png",
                "age": 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-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-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-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": 148,
            "url": "https://api.represent.me/api/question_collections/148/",
            "user_url": "https://api.represent.me/api/users/6561/",
            "name": "Bernie Supporter Election Decisions",
            "user": {
                "id": 6561,
                "username": "g_laures",
                "first_name": "Laures",
                "last_name": "GANDONOU",
                "url": "https://api.represent.me/api/users/6561/",
                "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/prof_initials_1839db141fd24cb29e7cebb61947eabb.png",
                "age": 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-11-10T20:41:28.101645Z",
            "modified_at": "2018-09-25T18:29:39.088635Z",
            "questions_link": "https://api.represent.me/api/questions/?in_collections__parent=148",
            "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/6d2655ca-00fe-4290-b48b-2c96ec3b5f24.png",
            "desc": "To better understand how Bernie supporters during the primary engaged in the 2016 Presidential election.",
            "username": "g_laures",
            "question_count": 2,
            "item_count": 0,
            "end_text": "To better understand how Bernie supporters during the primary engaged in the 2016 Presidential election.",
            "expire_at": null,
            "geo": null,
            "geo_url": null,
            "geo_info": null,
            "answered": 0.0
        },
        {
            "id": 147,
            "url": "https://api.represent.me/api/question_collections/147/",
            "user_url": "https://api.represent.me/api/users/20640/",
            "name": "What's the Brexit plan?",
            "user": {
                "id": 20640,
                "username": "aspiers",
                "first_name": "Adam",
                "last_name": "Spiers",
                "url": "https://api.represent.me/api/users/20640/",
                "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/9be36f7d-16c5-4e08-9e15-52abe76575c8.png",
                "age": 44,
                "bio": "",
                "created_at": "2018-08-29T12:13:46.372945Z",
                "modified_at": "2019-04-15T15:52:51.396966Z",
                "is_deleted": false,
                "last_answer_time": "2018-11-23T22:16:01.188891Z",
                "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": 29,
                "count_question_votes": 13,
                "count_friends": 0,
                "count_comment_votes": 0,
                "count_choice_votes": 16,
                "count_group_memberships": 1,
                "count_following_tags": 1,
                "count_comments": 0,
                "count_following_users": 1,
                "count_followers": 0,
                "karma": 0
            },
            "created_at": "2016-12-07T12:35:37Z",
            "modified_at": "2018-09-03T18:29:05.896163Z",
            "questions_link": "https://api.represent.me/api/questions/?in_collections__parent=147",
            "photo": "https://s3.eu-central-1.amazonaws.com:443/static.represent.me/images/4dff625a-cc50-4a34-9a95-e5148a3016fc.png",
            "desc": "Since Theresa May isn't giving us a plan, tell us yours!",
            "username": "aspiers",
            "question_count": 16,
            "item_count": 0,
            "end_text": "",
            "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": 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": 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": 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
        }
    ]
}