Skip to content

Question median responses per session

lukebaker edited this page Apr 2, 2012 · 4 revisions

Version: >= 3.0.1
Description: Gets the median responses per session. A response can be a vote or a skip. The range of possible values is from 0 - ∞
Format: xml
URL: GET /questions/#{question_id}/median_responses_per_session.xml
Parameters: none
Returns: median

<?xml version="1.0" encoding="UTF-8"?>
<hash>
  <median type="float">1.5</median>
</hash>

If there are no sessions returns nil value: If there are no sessions:

<?xml version="1.0" encoding="UTF-8"?>
<hash>
  <median nil="true"></median>
</hash>