Changes between Version 3 and Version 4 of SwipeBasedGameForTimeline/doc


Ignore:
Timestamp:
Jul 25, 2017, 12:24:06 PM (2 years ago)
Author:
fcalado
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SwipeBasedGameForTimeline/doc

    v3 v4  
    22== Questions: ==
    33
    4 1 - Name the App:[[BR]]
     41 - Answers as names:[[BR]]
    55
    66     What's the name of this app? (showing app icon)[[BR]]
     
    88     Answers: NameA, NameB;[[BR]]
    99[[BR]]
    10 2 - Call the icon:[[BR]]
    11      What icon belongs to [APPNAME]?[[BR]]
     102 - Answers as icons:[[BR]]
    1211     
    13      Answers: IconA, IconB;[[BR]]
     12     2.1 - What icon belongs to [APPNAME]?[[BR]]
     13     
     14           Answers: IconA, IconB;[[BR]]
     15     
     16     2.2 - Which of this is the most popular among users of this app? (showing app icon)[[BR]]
     17
     18           Answers: IconA, IconB;[[BR]]
     19
    1420[[BR]]
    15 3 - App Popularity:[[BR]]
     213 - Answers as icons and names:[[BR]]
    1622   
    17     3.1 - Which of these is more popular in your country?[[BR]]
     23    Which of these is more popular in your country?[[BR]]
    1824   
    19           Answers: IconA(+NameA?), IconB(+NameB?);[[BR]]
    20 
    21     3.2 - Which of this is the most popular among users of this app? (showing app icon)[[BR]]
    22 
    23           Answers: IconA, IconB;
     25     Answers: IconA(+NameA?), IconB(+NameB?);[[BR]]
     26
    2427[[BR]]
    25 4 - Year released:[[BR]]
    26    
    27     When was this app released? (showing app icon)[[BR]]
    28 
    29     Answers: YearA, YearB;[[BR]]
    30 
    3128
    3229== Json ==
    3330
    34 Question 1:[[BR]]
     31Question type 1:[[BR]]
    3532
    3633{{{
     
    4138    "timestamp": "2017-07-21 03:12:29",
    4239    "question": "What's the name of this app?",
    43     "score": 1000,
    44     "gRanking": 100,
    45     "lRanking": 20,
    46     "fRanking": 1,
    4740    "cardtrivia": "Whatever you need to say about whatever!",
    48     "rightAnswer": "[ENDPOINTURL]"
    49     "wrongAnswer": "[ENDPOINTURL]"
     41    "rankings": {
     42      "score": 1000,
     43      "gRanking": 100,
     44      "lRanking": 20,
     45      "fRanking": 1
     46    },
     47    "answer": {
     48      "rightAnswer": "[ENDPOINTURL]",
     49      "wrongAnswer": "[ENDPOINTURL]"
     50    }
    5051    "app": {
    5152      "id": 12345,
     
    156157}}}
    157158[[BR]]
    158 Question 2:[[BR]]
     159Question Type 2:[[BR]]
    159160
    160161
     
    166167    "timestamp": "2017-07-21 03:12:29",
    167168    "question": "What icon belongs to [APPNAME]?",
    168     "score": 1000,
    169     "gRanking": 100,
    170     "lRanking": 20,
    171     "fRanking": 1,
    172169    "cardtrivia": "Whatever you need to say about whatever!",
    173     "rightAnswer": "[ENDPOINTURL]"
    174     "wrongAnswer": "[ENDPOINTURL]"
     170    "rankings": {
     171      "score": 1000,
     172      "gRanking": 100,
     173      "lRanking": 20,
     174      "fRanking": 1
     175    },
     176    "answer": {
     177      "rightAnswer": "[ENDPOINTURL]",
     178      "wrongAnswer": "[ENDPOINTURL]"
     179    }
    175180    "app": {
    176181      "id": 12345,
     
    281286}}}
    282287[[BR]]
    283 Question 3:[[BR]]
    284 
    285 3.1:[[BR]]
     288Question Type 3:[[BR]]
    286289
    287290{{{
     
    292295    "timestamp": "2017-07-21 03:12:29",
    293296    "question": "Which of these is more popular in your country?",
    294     "score": 1000,
    295     "gRanking": 100,
    296     "lRanking": 20,
    297     "fRanking": 1,
    298297    "cardtrivia": "Whatever you need to say about whatever!",
    299     "rightAnswer": "[ENDPOINTURL]"
    300     "wrongAnswer": "[ENDPOINTURL]"
     298    "rankings": {
     299      "score": 1000,
     300      "gRanking": 100,
     301      "lRanking": 20,
     302      "fRanking": 1
     303    },
     304    "answer": {
     305      "rightAnswer": "[ENDPOINTURL]",
     306      "wrongAnswer": "[ENDPOINTURL]"
     307    },
    301308    "app": {
    302309      "id": 12345,
     
    406413}
    407414}}}
    408 [[BR]]
    409 3.2:[[BR]]
    410 
    411 {{{
    412 {
    413   "type": "GAME_4",
    414   "data": {
    415     "uid":"1234",
    416     "timestamp": "2017-07-21 03:12:29",
    417     "question": "Which of this is the most popular among users of this app?",
    418     "score": 1000,
    419     "gRanking": 100,
    420     "lRanking": 20,
    421     "fRanking": 1,
    422     "cardtrivia": "Whatever you need to say about whatever!",
    423     "rightAnswer": "[ENDPOINTURL]"
    424     "wrongAnswer": "[ENDPOINTURL]"
    425     "app": {
    426       "id": 12345,
    427       "name": "rightAnswer",
    428       "package": "smthing",
    429       "uname": "smthing-other",
    430       "size": 1000,
    431       "icon": "icon",
    432       "graphic": null,
    433       "added": "2014-03-22 14:26:51",
    434       "modified":"2014-03-22 14:26:51",
    435       "updated":"2016-10-14 17:49:14",
    436       "uptype":"regular",
    437       "store": {
    438         "id":407020,
    439         "name":"myStore",
    440         "avatar":"avatar",
    441         "appearance":{
    442           "theme":"springgreen",
    443           "description":"Welcome"
    444         },
    445         "stats":{
    446           "apps":5268,
    447           "subscribers":2906,
    448           "downloads":945372
    449         }
    450       },
    451       "file":{
    452         "vername":"1.0",
    453         "vercode":1,
    454         "md5sum":"612f0f188d97e111087f656232264c6e",
    455         "path":"http://pool.apk.aptoide.com/marketastaracz/com-instamaker-round-image-1-5315179-612f0f188d97e111087f656232264c6e.apk",
    456         "path_alt":"http://pool.apk.aptoide.com/marketastaracz/alt/Y29tLWluc3RhbWFrZXItcm91bmQtaW1hZ2UtMS01MzE1MTc5LTYxMmYwZjE4OGQ5N2UxMTEwODdmNjU2MjMyMjY0YzZl.apk",
    457         "filesize":271710,
    458         "malware": {
    459           "rank":"TRUSTED"
    460         }
    461       },
    462       "stats":{
    463         "downloads":1339,
    464         "pdownloads":6040,
    465         "rating":{
    466           "avg":0,
    467           "total":0
    468         },
    469         "prating":{
    470           "avg":0,
    471           "total":0
    472         }
    473       },
    474       "has_versions":false,
    475       "obb":null
    476     },
    477     "apps":[{
    478       "id":20374963,
    479       "name":"question",
    480       "package":"smthing",
    481       "uname":"wtv",
    482       "size":8987449,
    483       "icon":"icon.png",
    484       "graphic":"http://pool.img.aptoide.com/apps/61ea87ae5628f51b7f9ae3a60968b2a0.png",
    485       "added":"2016-08-07 15:14:11",
    486       "modified":"2016-08-07 15:14:11",
    487       "updated":"2017-02-13 12:20:21",
    488       "uptype":"webservice",
    489       "store":{
    490         "id":15,
    491         "name":"apps",
    492         "avatar":"http://pool.img.aptoide.com/apps/815872daa4e7a55f93cb3692aff65e31_ravatar.jpg",
    493         "appearance": {
    494           "theme":"default",
    495           "description":"Aptoide Official App Store"
    496         },
    497         "stats":{
    498           "apps":241475,
    499           "subscribers":1663429,
    500           "downloads":1493870275
    501         }
    502       },
    503       "file":{
    504         "vername":"1.2",
    505         "vercode":5,
    506         "md5sum":"22375f4d70436020954677a9f981faba",
    507         "path":"http://pool.apk.aptoide.com/apps/com-insta-image-editor-5-20374963-22375f4d70436020954677a9f981faba.apk",
    508         "path_alt":"http://pool.apk.aptoide.com/apps/alt/Y29tLWluc3RhLWltYWdlLWVkaXRvci01LTIwMzc0OTYzLTIyMzc1ZjRkNzA0MzYwMjA5NTQ2NzdhOWY5ODFmYWJh.apk",
    509         "filesize":8987449,
    510         "malware":{
    511           "rank":"TRUSTED"
    512         }
    513       },
    514       "stats":{
    515         "downloads":7920,
    516         "pdownloads":8938,
    517         "rating": {
    518           "avg":4,
    519           "total":1
    520         },
    521         "prating":{
    522           "avg":4,
    523           "total":1
    524         }
    525       },
    526       "has_versions":true,
    527       "obb":null
    528     },
    529     {
    530       "id":20374963,
    531       "name":"wrongAnswer",
    532       "package":"smthing",
    533       "uname":"wtv",
    534       "size":8987449,
    535       "icon":"icon.png",
    536       "graphic":"http://pool.img.aptoide.com/apps/61ea87ae5628f51b7f9ae3a60968b2a0.png",
    537       "added":"2016-08-07 15:14:11",
    538       "modified":"2016-08-07 15:14:11",
    539       "updated":"2017-02-13 12:20:21",
    540       "uptype":"webservice",
    541       "store":{
    542         "id":15,
    543         "name":"apps",
    544         "avatar":"http://pool.img.aptoide.com/apps/815872daa4e7a55f93cb3692aff65e31_ravatar.jpg",
    545         "appearance": {
    546           "theme":"default",
    547           "description":"Aptoide Official App Store"
    548         },
    549         "stats":{
    550           "apps":241475,
    551           "subscribers":1663429,
    552           "downloads":1493870275
    553         }
    554       },
    555       "file":{
    556         "vername":"1.2",
    557         "vercode":5,
    558         "md5sum":"22375f4d70436020954677a9f981faba",
    559         "path":"http://pool.apk.aptoide.com/apps/com-insta-image-editor-5-20374963-22375f4d70436020954677a9f981faba.apk",
    560         "path_alt":"http://pool.apk.aptoide.com/apps/alt/Y29tLWluc3RhLWltYWdlLWVkaXRvci01LTIwMzc0OTYzLTIyMzc1ZjRkNzA0MzYwMjA5NTQ2NzdhOWY5ODFmYWJh.apk",
    561         "filesize":8987449,
    562         "malware":{
    563           "rank":"TRUSTED"
    564         }
    565       },
    566       "stats":{
    567         "downloads":7920,
    568         "pdownloads":8938,
    569         "rating": {
    570           "avg":4,
    571           "total":1
    572         },
    573         "prating":{
    574           "avg":4,
    575           "total":1
    576         }
    577       },
    578       "has_versions":true,
    579       "obb":null
    580     }],
    581     "ab":null}
    582 }
    583 }}}
    584 [[BR]]
    585 Question 4:[[BR]]
    586 {{{
    587 {
    588   "type": "GAME_5",
    589   "data": {
    590     "uid":"1234",
    591     "timestamp": "2017-07-21 03:12:29",
    592     "question": "hen was this app released?",
    593     "score": 1000,
    594     "gRanking": 100,
    595     "lRanking": 20,
    596     "fRanking": 1,
    597     "cardtrivia": "Whatever you need to say about whatever!",
    598     "rightAnswer": "[ENDPOINTURL]"
    599     "wrongAnswer": "[ENDPOINTURL]"
    600     "app": {
    601       "id": 12345,
    602       "name": "rightAnswer",
    603       "package": "smthing",
    604       "uname": "smthing-other",
    605       "size": 1000,
    606       "icon": "icon",
    607       "graphic": null,
    608       "added": "2014-03-22 14:26:51",
    609       "modified":"2014-03-22 14:26:51",
    610       "updated":"2016-10-14 17:49:14",
    611       "uptype":"regular",
    612       "store": {
    613         "id":407020,
    614         "name":"myStore",
    615         "avatar":"avatar",
    616         "appearance":{
    617           "theme":"springgreen",
    618           "description":"Welcome"
    619         },
    620         "stats":{
    621           "apps":5268,
    622           "subscribers":2906,
    623           "downloads":945372
    624         }
    625       },
    626       "file":{
    627         "vername":"1.0",
    628         "vercode":1,
    629         "md5sum":"612f0f188d97e111087f656232264c6e",
    630         "path":"http://pool.apk.aptoide.com/marketastaracz/com-instamaker-round-image-1-5315179-612f0f188d97e111087f656232264c6e.apk",
    631         "path_alt":"http://pool.apk.aptoide.com/marketastaracz/alt/Y29tLWluc3RhbWFrZXItcm91bmQtaW1hZ2UtMS01MzE1MTc5LTYxMmYwZjE4OGQ5N2UxMTEwODdmNjU2MjMyMjY0YzZl.apk",
    632         "filesize":271710,
    633         "malware": {
    634           "rank":"TRUSTED"
    635         }
    636       },
    637       "stats":{
    638         "downloads":1339,
    639         "pdownloads":6040,
    640         "rating":{
    641           "avg":0,
    642           "total":0
    643         },
    644         "prating":{
    645           "avg":0,
    646           "total":0
    647         }
    648       },
    649       "has_versions":false,
    650       "obb":null
    651     },
    652     "apps":[],
    653     "ab":null}
    654 }
    655 
    656 NOTA: Para esta ultima questão, a resposta errada seria gerada client-side no cartão com base num range a partir da data correcta
    657 
    658 }}}
    659 
    660