Skip to content

questions all_object_info_totals_by_date

Luke Baker edited this page Apr 30, 2014 · 2 revisions

Description: Get number of votes, user_submitted_ideas, or user_sessions per day, according to time reported by pairwise server.
Format: XML
URL: GET /questions/all_object_info_totals_by_date.xml?object_type=user_sessions
Parameters:

  • object_type: required, string = “votes” || “user_submitted_ideas” || “user_sessions”: Indicates which totals to return

Returns:
Hash of date/integer pairs

<?xml version="1.0" encoding="UTF-8"?>
<records type="array">
  <record>
    <date type="date">2010-11-11</date>
    <count type="integer">4</count>
  </record>
  <record>
    <date type="date">2010-11-30</date>
    <count type="integer">2</count>
  </record>
</records>

Notes:

  • Missing template errors when object_type not provided