|
|
|
@ -9,6 +9,7 @@
|
|
|
|
|
"id": 1,
|
|
|
|
|
"slug": "picnic",
|
|
|
|
|
"configuration": {
|
|
|
|
|
"id": 1,
|
|
|
|
|
"isAboutDate": true,
|
|
|
|
|
"isProtectedByPassword": false,
|
|
|
|
|
"isOwnerNotifiedByEmailOnNewVote": false,
|
|
|
|
@ -20,51 +21,13 @@
|
|
|
|
|
},
|
|
|
|
|
"ownerId": 1,
|
|
|
|
|
"question": "Quelle date pour le picnic ?",
|
|
|
|
|
"description": "Gros badass picnic en plein air ! Come on !",
|
|
|
|
|
"answersByChoiceByParticipant": {
|
|
|
|
|
"TOTO": { "samedi": "YES", "dimanche": "NO" },
|
|
|
|
|
"TATA": { "samedi": "NO", "dimanche": null },
|
|
|
|
|
"TITI": { "samedi": "MAYBE", "dimanche": "NO" }
|
|
|
|
|
},
|
|
|
|
|
"answers": [
|
|
|
|
|
{
|
|
|
|
|
"pseudo": "TOTO",
|
|
|
|
|
"token": "TOTO-TOKEN",
|
|
|
|
|
"responsesByChoices": [
|
|
|
|
|
{ "choice": { "label": "samedi", "imagePath": null }, "responseType": "YES" },
|
|
|
|
|
{ "choice": { "label": "dimanche", "imagePath": null }, "responseType": "NO" }
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"pseudo": "TATA",
|
|
|
|
|
"token": "TATA-TOKEN",
|
|
|
|
|
"responsesByChoices": [
|
|
|
|
|
{ "choice": { "label": "samedi", "imagePath": null }, "responseType": "NO" },
|
|
|
|
|
{ "choice": { "label": "dimanche", "imagePath": null }, "responseType": "NO" }
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"pseudo": "TITI",
|
|
|
|
|
"token": "TITI-TOKEN",
|
|
|
|
|
"responsesByChoices": [
|
|
|
|
|
{ "choice": { "label": "samedi", "imagePath": null }, "responseType": "NO" },
|
|
|
|
|
{ "choice": { "label": "dimanche", "imagePath": null }, "responseType": "YES" }
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"pseudo": "TETE",
|
|
|
|
|
"token": "TETE-TOKEN",
|
|
|
|
|
"responsesByChoices": [
|
|
|
|
|
{ "choice": { "label": "samedi", "imagePath": null }, "responseType": "YES" },
|
|
|
|
|
{ "choice": { "label": "dimanche", "imagePath": null }, "responseType": "NO" }
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
"description": "Gros badass picnic en plein air ! Come on !"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"id": 2,
|
|
|
|
|
"slug": "vacances",
|
|
|
|
|
"configuration": {
|
|
|
|
|
"id": 2,
|
|
|
|
|
"isAboutDate": true,
|
|
|
|
|
"isProtectedByPassword": false,
|
|
|
|
|
"isOwnerNotifiedByEmailOnNewVote": false,
|
|
|
|
@ -76,50 +39,7 @@
|
|
|
|
|
},
|
|
|
|
|
"ownerId": 2,
|
|
|
|
|
"question": "On fait quoi pendant les vacances ?",
|
|
|
|
|
"description": "Vacances en famille",
|
|
|
|
|
"answersByChoiceByParticipant": {
|
|
|
|
|
"TOTO": { "bateau": "YES", "montagne": "NO", "quad": "MAYBE" },
|
|
|
|
|
"TATA": { "bateau": "NO", "montagne": null, "quad": "YES" },
|
|
|
|
|
"TITI": { "bateau": "MAYBE", "montagne": "NO", "quad": null }
|
|
|
|
|
},
|
|
|
|
|
"answers": [
|
|
|
|
|
{
|
|
|
|
|
"pseudo": "TOTO",
|
|
|
|
|
"token": "TOTO-TOKEN",
|
|
|
|
|
"responsesByChoices": [
|
|
|
|
|
{ "choice": { "label": "bateau", "imagePath": null }, "responseType": "YES" },
|
|
|
|
|
{ "choice": { "label": "montagne", "imagePath": null }, "responseType": "NO" },
|
|
|
|
|
{ "choice": { "label": "quad", "imagePath": null }, "responseType": "NO" }
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"pseudo": "TATA",
|
|
|
|
|
"token": "TATA-TOKEN",
|
|
|
|
|
"responsesByChoices": [
|
|
|
|
|
{ "choice": { "label": "bateau", "imagePath": null }, "responseType": "NO" },
|
|
|
|
|
{ "choice": { "label": "montagne", "imagePath": null }, "responseType": "NO" },
|
|
|
|
|
{ "choice": { "label": "quad", "imagePath": null }, "responseType": "NO" }
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"pseudo": "TITI",
|
|
|
|
|
"token": "TITI-TOKEN",
|
|
|
|
|
"responsesByChoices": [
|
|
|
|
|
{ "choice": { "label": "bateau", "imagePath": null }, "responseType": "NO" },
|
|
|
|
|
{ "choice": { "label": "montagne", "imagePath": null }, "responseType": "YES" },
|
|
|
|
|
{ "choice": { "label": "quad", "imagePath": null }, "responseType": "NO" }
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"pseudo": "TETE",
|
|
|
|
|
"token": "TETE-TOKEN",
|
|
|
|
|
"responsesByChoices": [
|
|
|
|
|
{ "choice": { "label": "bateau", "imagePath": null }, "responseType": "YES" },
|
|
|
|
|
{ "choice": { "label": "montagne", "imagePath": null }, "responseType": "NO" },
|
|
|
|
|
{ "choice": { "label": "quad", "imagePath": null }, "responseType": "NO" }
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
"description": "Vacances en famille"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"choices": [
|
|
|
|
@ -129,9 +49,15 @@
|
|
|
|
|
"pollSlug": "picnic",
|
|
|
|
|
"label": "samedi",
|
|
|
|
|
"participants": [
|
|
|
|
|
["YES", ["TOTO", "TITI"]],
|
|
|
|
|
["NO", ["TETE"]],
|
|
|
|
|
["MAYBE", ["TATA"]]
|
|
|
|
|
[
|
|
|
|
|
"YES",
|
|
|
|
|
[
|
|
|
|
|
{ "pseudo": "TOTO", "token": "TOTO-TOKEN" },
|
|
|
|
|
{ "pseudo": "TITI", "token": "TITI-TOKEN" }
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
["NO", []],
|
|
|
|
|
["MAYBE", [{ "pseudo": "TATA", "token": "TATA-TOKEN" }]]
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -140,9 +66,15 @@
|
|
|
|
|
"pollSlug": "picnic",
|
|
|
|
|
"label": "dimanche",
|
|
|
|
|
"participants": [
|
|
|
|
|
["YES", ["TOTO", "TITI"]],
|
|
|
|
|
["NO", ["TETE"]],
|
|
|
|
|
["MAYBE", ["TATA"]]
|
|
|
|
|
[
|
|
|
|
|
"YES",
|
|
|
|
|
[
|
|
|
|
|
{ "pseudo": "TATA", "token": "TATA-TOKEN" },
|
|
|
|
|
{ "pseudo": "TETE", "token": "TETE-TOKEN" }
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
["NO", [{ "pseudo": "TOTO", "token": "TOTO-TOKEN" }]],
|
|
|
|
|
["MAYBE", [{ "pseudo": "TITI", "token": "TITI-TOKEN" }]]
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -151,9 +83,15 @@
|
|
|
|
|
"pollSlug": "vacances",
|
|
|
|
|
"label": "bateau",
|
|
|
|
|
"participants": [
|
|
|
|
|
["YES", ["TOTO", "TITI"]],
|
|
|
|
|
["NO", ["TETE"]],
|
|
|
|
|
["MAYBE", ["TATA"]]
|
|
|
|
|
[
|
|
|
|
|
"YES",
|
|
|
|
|
[
|
|
|
|
|
{ "pseudo": "TOTO", "token": "TOTO-TOKEN" },
|
|
|
|
|
{ "pseudo": "TITI", "token": "TITI-TOKEN" }
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
["NO", [{ "pseudo": "TETE", "token": "TETE-TOKEN" }]],
|
|
|
|
|
["MAYBE", [{ "pseudo": "TATA", "token": "TATA-TOKEN" }]]
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -162,9 +100,15 @@
|
|
|
|
|
"pollSlug": "vacances",
|
|
|
|
|
"label": "montagne",
|
|
|
|
|
"participants": [
|
|
|
|
|
["YES", ["TOTO", "TITI"]],
|
|
|
|
|
["NO", ["TETE"]],
|
|
|
|
|
["MAYBE", ["TATA"]]
|
|
|
|
|
[
|
|
|
|
|
"YES",
|
|
|
|
|
[
|
|
|
|
|
{ "pseudo": "TOTO", "token": "TOTO-TOKEN" },
|
|
|
|
|
{ "pseudo": "TITI", "token": "TITI-TOKEN" }
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
["NO", [{ "pseudo": "TETE", "token": "TETE-TOKEN" }]],
|
|
|
|
|
["MAYBE", [{ "pseudo": "TATA", "token": "TATA-TOKEN" }]]
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -173,30 +117,18 @@
|
|
|
|
|
"pollSlug": "vacances",
|
|
|
|
|
"label": "quad",
|
|
|
|
|
"participants": [
|
|
|
|
|
["YES", ["TOTO", "TITI"]],
|
|
|
|
|
["NO", ["TETE"]],
|
|
|
|
|
["MAYBE", ["TATA"]]
|
|
|
|
|
[
|
|
|
|
|
"YES",
|
|
|
|
|
[
|
|
|
|
|
{ "pseudo": "TOTO", "token": "TOTO-TOKEN" },
|
|
|
|
|
{ "pseudo": "TITI", "token": "TITI-TOKEN" }
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
["NO", [{ "pseudo": "TETE", "token": "TETE-TOKEN" }]],
|
|
|
|
|
["MAYBE", [{ "pseudo": "TATA", "token": "TATA-TOKEN" }]]
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"answers": [
|
|
|
|
|
{ "choiceId": 1, "pseudo": "TOTO", "response": "YES", "token": "TOTO-TOKEN" },
|
|
|
|
|
{ "choiceId": 1, "pseudo": "TATA", "response": "NO", "token": "TATA-TOKEN" },
|
|
|
|
|
{ "choiceId": 1, "pseudo": "TITI", "response": "MAYBE", "token": "TITI-TOKEN" },
|
|
|
|
|
{ "choiceId": 2, "pseudo": "TOTO", "response": "YES", "token": "TOTO-TOKEN" },
|
|
|
|
|
{ "choiceId": 2, "pseudo": "TATA", "response": "NO", "token": "TATA-TOKEN" },
|
|
|
|
|
{ "choiceId": 2, "pseudo": "TITI", "response": "MAYBE", "token": "TITI-TOKEN" },
|
|
|
|
|
{ "choiceId": 2, "pseudo": "EVA", "response": null, "token": "EVA-TOKEN" },
|
|
|
|
|
{ "choiceId": 3, "pseudo": "TOTO", "response": "YES", "token": "TOTO-TOKEN" },
|
|
|
|
|
{ "choiceId": 3, "pseudo": "TATA", "response": "NO", "token": "TATA-TOKEN" },
|
|
|
|
|
{ "choiceId": 3, "pseudo": "TITI", "response": "MAYBE", "token": "TITI-TOKEN" },
|
|
|
|
|
{ "choiceId": 4, "pseudo": "TOTO", "response": "YES", "token": "TOTO-TOKEN" },
|
|
|
|
|
{ "choiceId": 4, "pseudo": "TATA", "response": "NO", "token": "TATA-TOKEN" },
|
|
|
|
|
{ "choiceId": 4, "pseudo": "TITI", "response": "MAYBE", "token": "TITI-TOKEN" },
|
|
|
|
|
{ "choiceId": 5, "pseudo": "TOTO", "response": "YES", "token": "TOTO-TOKEN" },
|
|
|
|
|
{ "choiceId": 5, "pseudo": "TATA", "response": "NO", "token": "TATA-TOKEN" },
|
|
|
|
|
{ "choiceId": 5, "pseudo": "TITI", "response": "MAYBE", "token": "TITI-TOKEN" }
|
|
|
|
|
],
|
|
|
|
|
"comments": [
|
|
|
|
|
{
|
|
|
|
|
"id": 1,
|
|
|
|
|