-
Notifications
You must be signed in to change notification settings - Fork 34
visitors index
dmitrig edited this page Sep 14, 2010
·
1 revision
Description: Return number of votes, skips, uploaded_ideas, or bounces for each visitor
Format: XML
URL: GET /visitors.xml?object_type=votes
Parameters:
- object_type: required, string = “votes” | “skips” | “uploaded_ideas” | “bounces” | “questions_created”: Indicates what type of even to count
- question_id: optional, int: Return totals only for a specific question
Returns: Array of visitor objects
<?xml version="1.0" encoding="UTF-8"?>
<visitors type="array">
<visitor>
<id>14257a020c997c43d0cce2fe88d5aa1a</id>
<votes-count>6</votes-count>
</visitor>
...
</visitors>
Notes:
- ‘question_id’ will be ignored if ‘object_type’ is ‘questions_created’