Skip to content

Instantly share code, notes, and snippets.

@mediawrangler
Created May 31, 2018 17:45
Show Gist options
  • Save mediawrangler/fbb3c33b42dd6c557cad52dc92132773 to your computer and use it in GitHub Desktop.
Save mediawrangler/fbb3c33b42dd6c557cad52dc92132773 to your computer and use it in GitHub Desktop.
localdata/polls/contactme.json
{
"data": {
"id": "27235e41-02cc-4d43-8e02-3e29406a4923",
"type": "response_sets",
"attributes": {
"time_taken": null,
"fields": {},
"answers": [
{
"question_id": 269,
"value": 1065,
"response_type": "single_selection"
}
],
"current_section_id": 74,
"grade": null,
"status": "started",
"web_hooks": {},
"evaluation_has_started": false
},
"relationships": {
"evaluation": {
"data": {
"id": "74",
"type": "evaluations"
}
},
"sections": {
"data": [
{
"id": "74",
"type": "response_set_sections"
}
]
}
}
},
"included": [
{
"id": "74",
"type": "evaluations",
"attributes": {
"slug": "pros-and-cons",
"name": "Pros & Cons of Home Ownership",
"description": "Pros & Cons",
"title": "Pros & Cons of Home Ownership",
"active": true,
"intro_text": null,
"passed_text": null,
"failure_text": null,
"start_date": "2017-09-01",
"end_date": "2018-09-01",
"passing_grade": 0,
"show_results_screen": false,
"shuffle": false,
"hide_grade": false,
"show_intro": true
},
"relationships": {
"sections": {
"data": [
{
"id": "74",
"type": "sections"
}
]
}
}
},
{
"id": "74",
"type": "response_set_sections",
"attributes": {
"title": "Pros & Cons",
"active": true,
"shuffle": false,
"bank": false,
"bank_count": null,
"position": 1,
"completed": false
},
"relationships": {
"questions": {
"data": [
{
"id": "269",
"type": "response_set_questions"
}
]
}
}
},
{
"id": "269",
"type": "response_set_questions",
"attributes": {
"text": "Do you want the school to reach out to you about this topic?",
"active": true,
"shuffle": false,
"position": 1,
"responded": true
},
"relationships": {
"answers": {
"data": [
{
"id": "1034",
"type": "answers"
},
{
"id": "1035",
"type": "answers"
}
]
}
}
},
{
"id": "1034",
"type": "answers",
"attributes": {
"text": "Yes",
"active": true,
"position": 1
}
},
{
"id": "1035",
"type": "answers",
"attributes": {
"text": "No",
"active": true,
"position": 2
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment