Skip to content

Instantly share code, notes, and snippets.

@RDeluxe
Last active June 21, 2017 17:00
Show Gist options
  • Save RDeluxe/2c7881141cfb53737d8e45321e7247b4 to your computer and use it in GitHub Desktop.
Save RDeluxe/2c7881141cfb53737d8e45321e7247b4 to your computer and use it in GitHub Desktop.
Data structure for GET /polls/:id
{
id: 1,
question: 'Do you like polls ?’,
answers: [
{
id: 124,
response: 'Oui’,
votes: 14
},
{
id: 125,
response: 'Non’,
votes: 5
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment