Skip to content

Questions upload to participation rate

lukebaker edited this page Apr 2, 2012 · 2 revisions

Version: >= 3.0.1
Description: Gets the upload to participation rate for this question. The rate is defined as the number of sessions with at least one upload divided by the total number of sessions with some active participation (at least one vote, skip, or uploaded idea) The range of possible values is from 0 - 1
Format: xml
URL: GET /questions/#{question_id}/upload_to_participation_rate.xml
Parameters: none
Returns: upload to participation rate as hash

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

If there are no sessions with active participation it will return a nil value:

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