You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have come across a scenario where we are unable to get the gender_response_rate data of a poll (featured or otherwise) from /api/v1/polls/{id}/ or /api/v1/polls/org/{org} call alone when we have an "open_ended": true question as the top question of the poll.
Hence, we were wondering if there is a way to get the gender_stats for open ended questions without changing the current API results format since other apps/services may also be using the same API?
In case the above is not possible, we would start working on modifying the Polls API in order to get the gender_stats for open ended questions as well (which currently is only available for non-open ended questions to our knowledge). Or should we look towards modifying the serializers instead?
We have come across a scenario where we are unable to get the gender_response_rate data of a poll (featured or otherwise) from
/api/v1/polls/{id}/
or/api/v1/polls/org/{org}
call alone when we have an"open_ended": true
question as the top question of the poll.Hence, we were wondering if there is a way to get the gender_stats for open ended questions without changing the current API results format since other apps/services may also be using the same API?
In case the above is not possible, we would start working on modifying the Polls API in order to get the
gender_stats
for open ended questions as well (which currently is only available for non-open ended questions to our knowledge). Or should we look towards modifying the serializers instead?ureport/ureport/api/serializers.py
Line 125 in de8b5cd
Requesting suggestions from others on the best direction to take regarding this matter.
The text was updated successfully, but these errors were encountered: