-
Notifications
You must be signed in to change notification settings - Fork 34
visitors votes
Lucas Pirola edited this page Mar 5, 2015
·
2 revisions
Description: Return all votes from a visitor identifier
Format: JSON
URL: GET /visitors/guest/votes.json?question_id=1
Parameters:
- visitor_identifier: required, string = "owner" | "guest" | param "visitor_identifier" used when user are voting
- question_id: required, int: Specific question votes
Returns: Array of votes objects
{
"votes": [
{
"winner": "left",
"id": 166,
"left_choice_id": 1,
"left_choice_data": "bike",
"right_choice_id": 3,
"right_choice_data": "bus"
},
{}
]
}
Notes:
- none