Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
JSON for syncing stories
{
"stories": [{
"synced": 0,
"sysid": "",
"group_id": 24,
"respondent_type": "PR",
"created_at": 1467503240213,
"school_id": 1917,
"_id": 1,
"user_id": 157,
"answers": [{
"text": "Don't Know",
"question_id": 147,
"created_at": 1467503240213,
"_id": 41,
"story_id": 1
}, {
"text": "Don't Know",
"question_id": 382,
"created_at": 1467503240213,
"_id": 42,
"story_id": 1
}, {
"text": "Yes",
"question_id": 149,
"created_at": 1467503240213,
"_id": 43,
"story_id": 1
}, {
"text": "No",
"question_id": 381,
"created_at": 1467503240213,
"_id": 44,
"story_id": 1
}, {
"text": "No",
"question_id": 150,
"created_at": 1467503240213,
"_id": 45,
"story_id": 1
}, {
"text": "Don't Know",
"question_id": 143,
"created_at": 1467503240213,
"_id": 46,
"story_id": 1
}, {
"text": "Yes",
"question_id": 148,
"created_at": 1467503240213,
"_id": 47,
"story_id": 1
}, {
"text": "No",
"question_id": 138,
"created_at": 1467503240213,
"_id": 48,
"story_id": 1
}, {
"text": "Yes",
"question_id": 145,
"created_at": 1467503240213,
"_id": 49,
"story_id": 1
}, {
"text": "Yes",
"question_id": 144,
"created_at": 1467503240213,
"_id": 50,
"story_id": 1
}]
}, {
"synced": 0,
"sysid": "",
"group_id": 24,
"respondent_type": "PR",
"created_at": 1467503246749,
"school_id": 1917,
"_id": 2,
"user_id": 157,
"answers": [{
"text": "Don't Know",
"question_id": 147,
"created_at": 1467503246749,
"_id": 51,
"story_id": 2
}, {
"text": "No",
"question_id": 382,
"created_at": 1467503246749,
"_id": 52,
"story_id": 2
}, {
"text": "Yes",
"question_id": 149,
"created_at": 1467503246749,
"_id": 53,
"story_id": 2
}, {
"text": "Don't Know",
"question_id": 381,
"created_at": 1467503246749,
"_id": 54,
"story_id": 2
}, {
"text": "Don't Know",
"question_id": 150,
"created_at": 1467503246749,
"_id": 55,
"story_id": 2
}, {
"text": "Don't Know",
"question_id": 143,
"created_at": 1467503246749,
"_id": 56,
"story_id": 2
}, {
"text": "Yes",
"question_id": 148,
"created_at": 1467503246749,
"_id": 57,
"story_id": 2
}, {
"text": "Yes",
"question_id": 138,
"created_at": 1467503246749,
"_id": 58,
"story_id": 2
}, {
"text": "Don't Know",
"question_id": 145,
"created_at": 1467503246749,
"_id": 59,
"story_id": 2
}, {
"text": "Yes",
"question_id": 144,
"created_at": 1467503246749,
"_id": 60,
"story_id": 2
}]
}, {
"synced": 0,
"sysid": "",
"group_id": 24,
"respondent_type": "PR",
"created_at": 1467503255293,
"school_id": 1917,
"_id": 3,
"user_id": 157,
"answers": [{
"text": "Don't Know",
"question_id": 147,
"created_at": 1467503255293,
"_id": 61,
"story_id": 3
}, {
"text": "Don't Know",
"question_id": 382,
"created_at": 1467503255293,
"_id": 62,
"story_id": 3
}, {
"text": "Yes",
"question_id": 149,
"created_at": 1467503255293,
"_id": 63,
"story_id": 3
}, {
"text": "Yes",
"question_id": 381,
"created_at": 1467503255293,
"_id": 64,
"story_id": 3
}, {
"text": "Yes",
"question_id": 150,
"created_at": 1467503255293,
"_id": 65,
"story_id": 3
}, {
"text": "Don't Know",
"question_id": 143,
"created_at": 1467503255293,
"_id": 66,
"story_id": 3
}, {
"text": "Yes",
"question_id": 148,
"created_at": 1467503255293,
"_id": 67,
"story_id": 3
}, {
"text": "Yes",
"question_id": 138,
"created_at": 1467503255293,
"_id": 68,
"story_id": 3
}, {
"text": "Yes",
"question_id": 145,
"created_at": 1467503255293,
"_id": 69,
"story_id": 3
}, {
"text": "No",
"question_id": 144,
"created_at": 1467503255293,
"_id": 70,
"story_id": 3
}]
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment